WPFCustomControls::Customization::ViewModel::ContextQueryEntry Class Reference


Detailed Description

ViewModel representing the current state of an available ContextQuery within a particular MultiContextQuery instance.

Inheritance diagram for WPFCustomControls::Customization::ViewModel::ContextQueryEntry:
Inheritance graph
[legend]

List of all members.

Static Public Attributes

static readonly DependencyProperty  ActiveProperty
  Whether this ContextQuery is active in determining the resulting value in the current MultiContextQuery.
static readonly DependencyProperty  LabelProperty
  Text label presented in the View.
static readonly DependencyProperty  QueryProperty
  ContextQuery presented by this entry.
static readonly DependencyProperty  VisibilityProperty

Protected Member Functions

virtual void  OnActiveChanged (DependencyPropertyChangedEventArgs args)
virtual void  OnQueryChanged (DependencyPropertyChangedEventArgs args)

Properties

bool  Active [get, set]
  Whether this ContextQuery is active in determining the resulting value in the current MultiContextQuery.
String  Label [get, set]
  Text label presented in the View.
ContextQuery  Query [get, set]
  ContextQuery presented by this entry.
Visibility  Visibility [get, set]

Events

DependencyPropertyChangedEventHandler  ActiveChanged
  Fires when the Active property value changes.
DependencyPropertyChangedEventHandler  QueryChanged
  Fires when the Query object changes.

Member Function Documentation

virtual void WPFCustomControls::Customization::ViewModel::ContextQueryEntry::OnActiveChanged ( DependencyPropertyChangedEventArgs  args ) [inline, protected, virtual]
virtual void WPFCustomControls::Customization::ViewModel::ContextQueryEntry::OnQueryChanged ( DependencyPropertyChangedEventArgs  args ) [inline, protected, virtual]

Member Data Documentation

Initial value:
 
        DependencyProperty.Register(
            "Active",
            typeof(bool),
            typeof(ContextQueryEntry),
            new PropertyMetadata(false, new PropertyChangedCallback(OnActivePropertyChanged))
        )

Whether this ContextQuery is active in determining the resulting value in the current MultiContextQuery.

Initial value:
        DependencyProperty.Register(
            "Label",
            typeof(String),
            typeof(ContextQueryEntry))

Text label presented in the View.

Initial value:
        DependencyProperty.Register(
            "Query",
            typeof(ContextQuery),
            typeof(ContextQueryEntry),
            new PropertyMetadata(null, new PropertyChangedCallback(OnQueryPropertyChanged))
        )

ContextQuery presented by this entry.

The ContextQuery performs the actual query to evaluate the current scene state.

Initial value:
 
        DependencyProperty.Register(
            "Visibility",
            typeof(Visibility),
            typeof(ContextQueryEntry),
            new PropertyMetadata(Visibility.Visible) )

Property Documentation

bool WPFCustomControls::Customization::ViewModel::ContextQueryEntry::Active [get, set]

Whether this ContextQuery is active in determining the resulting value in the current MultiContextQuery.

String WPFCustomControls::Customization::ViewModel::ContextQueryEntry::Label [get, set]

Text label presented in the View.

ContextQuery WPFCustomControls::Customization::ViewModel::ContextQueryEntry::Query [get, set]

ContextQuery presented by this entry.

The ContextQuery performs the actual query to evaluate the current scene state.

Visibility WPFCustomControls::Customization::ViewModel::ContextQueryEntry::Visibility [get, set]

Event Documentation

DependencyPropertyChangedEventHandler WPFCustomControls::Customization::ViewModel::ContextQueryEntry::ActiveChanged

Fires when the Active property value changes.

DependencyPropertyChangedEventHandler WPFCustomControls::Customization::ViewModel::ContextQueryEntry::QueryChanged

Fires when the Query object changes.


WPFCustomControls::Customization::ViewModel::ContextQueryEntry WPFCustomControls::Customization::ViewModel::ContextQueryEntry WPFCustomControls::Customization::ViewModel::ContextQueryEntry WPFCustomControls::Customization::ViewModel::ContextQueryEntry WPFCustomControls::Customization::ViewModel::ContextQueryEntry WPFCustomControls::Customization::ViewModel::ContextQueryEntry WPFCustomControls::Customization::ViewModel::ContextQueryEntry WPFCustomControls::Customization::ViewModel::ContextQueryEntry WPFCustomControls::Customization::ViewModel::ContextQueryEntry WPFCustomControls::Customization::ViewModel::ContextQueryEntry
WPFCustomControls::Customization::ViewModel::ContextQueryEntry WPFCustomControls::Customization::ViewModel::ContextQueryEntry WPFCustomControls::Customization::ViewModel::ContextQueryEntry WPFCustomControls::Customization::ViewModel::ContextQueryEntry WPFCustomControls::Customization::ViewModel::ContextQueryEntry WPFCustomControls::Customization::ViewModel::ContextQueryEntry WPFCustomControls::Customization::ViewModel::ContextQueryEntry WPFCustomControls::Customization::ViewModel::ContextQueryEntry WPFCustomControls::Customization::ViewModel::ContextQueryEntry WPFCustomControls::Customization::ViewModel::ContextQueryEntry