Queries whether the currently selected object's sub-object mode matches the given expected mode.
Once initialized and put into use, these queries expect to remain immutable. Clone and ContextDefinitionChanged events assume that the expected sub object mode will not change.
Public Member Functions |
|
override void | RefreshValue () |
Reevaluate this query for the current state
of the scene, setting the new result in Value. |
|
Static Public Attributes |
|
static readonly String | ExpectedSubObjectModePropertyName = "ExpectedSubObjectMode" |
Constant name identifying the
ExpectedSubObjectModeProperty. |
|
static readonly DependencyProperty | ExpectedSubObjectModeProperty |
Sub-object mode to compare against the
current selected object's sub-object mode. |
|
Properties |
|
MaxRibbonControl.SubobjectModeEnum |
ExpectedSubObjectMode [get, set] |
Sub-object mode to compare against the
current selected object's sub-object mode. |
|
static SubObjectContextQuery |
ObjectModeContextQuery [get] |
SubObjectContextQuery evaluating to true when the current
sub-object mode is 'Object. |
|
static SubObjectContextQuery |
VertexModeContextQuery [get] |
SubObjectContextQuery evaluating to true when the current
sub-object mode is 'Vertex. |
|
static SubObjectContextQuery |
EdgeModeContextQuery [get] |
SubObjectContextQuery evaluating to true when the current
sub-object mode is 'Edge. |
|
static SubObjectContextQuery |
BorderModeContextQuery [get] |
SubObjectContextQuery evaluating to true when the current
sub-object mode is 'Border. |
|
static SubObjectContextQuery |
PolygonModeContextQuery [get] |
SubObjectContextQuery evaluating to true when the current
sub-object mode is 'Polygon. |
|
static SubObjectContextQuery |
ElementModeContextQuery [get] |
SubObjectContextQuery evaluating to true when the current
sub-object mode is 'Element. |
override void WPFCustomControls::ContextQueries::SubObjectContextQuery::RefreshValue | ( | ) | [inline, virtual] |
Reevaluate this query for the current state of the scene, setting the new result in Value.
Reimplemented from WPFCustomControls::ContextQueries::ContextQuery.
readonly String
WPFCustomControls::ContextQueries::SubObjectContextQuery::ExpectedSubObjectModePropertyName
= "ExpectedSubObjectMode" [static] |
Constant name identifying the ExpectedSubObjectModeProperty.
readonly DependencyProperty
WPFCustomControls::ContextQueries::SubObjectContextQuery::ExpectedSubObjectModeProperty
[static] |
DependencyProperty.Register( ExpectedSubObjectModePropertyName, typeof(MaxRibbonControl.SubobjectModeEnum), typeof(SubObjectContextQuery))
Sub-object mode to compare against the current selected object's sub-object mode.
MaxRibbonControl.SubobjectModeEnum
WPFCustomControls::ContextQueries::SubObjectContextQuery::ExpectedSubObjectMode
[get, set] |
Sub-object mode to compare against the current selected object's sub-object mode.
SubObjectContextQuery
WPFCustomControls::ContextQueries::SubObjectContextQuery::ObjectModeContextQuery
[static, get] |
SubObjectContextQuery evaluating to true when the current sub-object mode is 'Object.
'
Using this single instance instead of constructing a new one improves performance by evaluating the query only once.
SubObjectContextQuery
WPFCustomControls::ContextQueries::SubObjectContextQuery::VertexModeContextQuery
[static, get] |
SubObjectContextQuery evaluating to true when the current sub-object mode is 'Vertex.
'
Using this single instance instead of constructing a new one improves performance by evaluating the query only once.
SubObjectContextQuery
WPFCustomControls::ContextQueries::SubObjectContextQuery::EdgeModeContextQuery
[static, get] |
SubObjectContextQuery evaluating to true when the current sub-object mode is 'Edge.
'
Using this single instance instead of constructing a new one improves performance by evaluating the query only once.
SubObjectContextQuery
WPFCustomControls::ContextQueries::SubObjectContextQuery::BorderModeContextQuery
[static, get] |
SubObjectContextQuery evaluating to true when the current sub-object mode is 'Border.
'
Using this single instance instead of constructing a new one improves performance by evaluating the query only once.
SubObjectContextQuery
WPFCustomControls::ContextQueries::SubObjectContextQuery::PolygonModeContextQuery
[static, get] |
SubObjectContextQuery evaluating to true when the current sub-object mode is 'Polygon.
'
Using this single instance instead of constructing a new one improves performance by evaluating the query only once.
SubObjectContextQuery
WPFCustomControls::ContextQueries::SubObjectContextQuery::ElementModeContextQuery
[static, get] |
SubObjectContextQuery evaluating to true when the current sub-object mode is 'Element.
'
Using this single instance instead of constructing a new one improves performance by evaluating the query only once.