ViewModel representing the current state of an available ContextQuery within a particular MultiContextQuery instance.
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.
|
virtual void WPFCustomControls::Customization::ViewModel::ContextQueryEntry::OnActiveChanged | ( | DependencyPropertyChangedEventArgs | args | ) | [inline, protected, virtual] |
virtual void WPFCustomControls::Customization::ViewModel::ContextQueryEntry::OnQueryChanged | ( | DependencyPropertyChangedEventArgs | args | ) | [inline, protected, virtual] |
readonly DependencyProperty
WPFCustomControls::Customization::ViewModel::ContextQueryEntry::ActiveProperty
[static] |
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.
readonly DependencyProperty
WPFCustomControls::Customization::ViewModel::ContextQueryEntry::LabelProperty
[static] |
DependencyProperty.Register(
"Label",
typeof(String),
typeof(ContextQueryEntry))
Text label presented in the View.
readonly DependencyProperty
WPFCustomControls::Customization::ViewModel::ContextQueryEntry::QueryProperty
[static] |
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.
readonly DependencyProperty
WPFCustomControls::Customization::ViewModel::ContextQueryEntry::VisibilityProperty
[static] |
DependencyProperty.Register( "Visibility", typeof(Visibility), typeof(ContextQueryEntry), new PropertyMetadata(Visibility.Visible) )
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] |
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.