A viewmodel object for a property.
Public Types |
|
enum |
PropertyCategory { Standard, Command, Maxscript, Colors, Advanced } |
Static Public Attributes |
|
static readonly DependencyProperty | PropertyTypeProperty |
static readonly DependencyProperty | CategoryProperty |
static readonly DependencyProperty | PropertyValueProperty |
static readonly DependencyProperty | DefaultValueProperty |
static readonly DependencyProperty | ToolTipProperty |
static readonly DependencyProperty | BoundsProperty |
static readonly DependencyProperty | OutOfBoundsProperty |
Protected Member Functions |
|
void | OnPropertyValueChanged (DependencyPropertyChangedEventArgs e) |
Properties |
|
String |
PropertyName [get, set] |
The name of the property - used for
reflection. |
|
String |
UiName [get, set] |
The name that should be displayed in a User
Interface to represent the property. |
|
String |
CategoryName [get] |
The property category. |
|
Object |
PropertyValue [get, set] |
The value of the property. |
|
Object |
DefaultValue [get, set] |
Default value used when the PropertyValue is
reset or cleared. |
|
Type |
PropertyType [get, set] |
The property type. |
|
object |
ToolTip [get, set] |
A ToolTip to associate with this particular
row. |
|
Pair< IComparable, IComparable > |
Bounds [get, set] |
bool |
OutOfBounds [get, set] |
PropertyCategory |
Category [get, set] |
The property category. |
|
Events |
|
DependencyPropertyChangedEventHandler | PropertyValueChanged |
Signals when the value of this property has
been changed. |
void WPFCustomControls::Customization::ViewModel::PropertyRow::OnPropertyValueChanged | ( | DependencyPropertyChangedEventArgs | e | ) | [inline, protected] |
readonly DependencyProperty
WPFCustomControls::Customization::ViewModel::PropertyRow::PropertyTypeProperty
[static] |
DependencyProperty.Register(
"PropertyType",
typeof(Type),
typeof(PropertyRow))
readonly DependencyProperty
WPFCustomControls::Customization::ViewModel::PropertyRow::CategoryProperty
[static] |
DependencyProperty.Register( "Category", typeof(PropertyCategory), typeof(PropertyRow))
readonly DependencyProperty
WPFCustomControls::Customization::ViewModel::PropertyRow::PropertyValueProperty
[static] |
DependencyProperty.Register( "PropertyValue", typeof(Object), typeof(PropertyRow), new FrameworkPropertyMetadata(null, new PropertyChangedCallback(PropertyValuePropertyChanged)))
readonly DependencyProperty
WPFCustomControls::Customization::ViewModel::PropertyRow::DefaultValueProperty
[static] |
DependencyProperty.Register(
"DefaultValue",
typeof(Object),
typeof(PropertyRow))
readonly DependencyProperty
WPFCustomControls::Customization::ViewModel::PropertyRow::ToolTipProperty
[static] |
DependencyProperty.Register( "ToolTip", typeof(Object), typeof(PropertyRow), new FrameworkPropertyMetadata(null))
readonly DependencyProperty
WPFCustomControls::Customization::ViewModel::PropertyRow::BoundsProperty
[static] |
DependencyProperty.Register( "Bounds", typeof(Pair<IComparable, IComparable>?), typeof(PropertyRow), new FrameworkPropertyMetadata(null) )
readonly DependencyProperty
WPFCustomControls::Customization::ViewModel::PropertyRow::OutOfBoundsProperty
[static] |
DependencyProperty.Register( "OutOfBounds", typeof(bool), typeof(PropertyRow), new FrameworkPropertyMetadata(false) )
String
WPFCustomControls::Customization::ViewModel::PropertyRow::PropertyName
[get, set] |
The name of the property - used for reflection.
String
WPFCustomControls::Customization::ViewModel::PropertyRow::UiName
[get, set] |
The name that should be displayed in a User Interface to represent the property.
String
WPFCustomControls::Customization::ViewModel::PropertyRow::CategoryName
[get] |
The property category.
Object
WPFCustomControls::Customization::ViewModel::PropertyRow::PropertyValue
[get, set] |
The value of the property.
Object
WPFCustomControls::Customization::ViewModel::PropertyRow::DefaultValue
[get, set] |
Default value used when the PropertyValue is reset or cleared.
Type
WPFCustomControls::Customization::ViewModel::PropertyRow::PropertyType
[get, set] |
The property type.
object
WPFCustomControls::Customization::ViewModel::PropertyRow::ToolTip
[get, set] |
A ToolTip to associate with this particular row.
Pair<IComparable, IComparable>
WPFCustomControls::Customization::ViewModel::PropertyRow::Bounds
[get, set] |
bool
WPFCustomControls::Customization::ViewModel::PropertyRow::OutOfBounds
[get, set] |
PropertyCategory
WPFCustomControls::Customization::ViewModel::PropertyRow::Category
[get, set] |
The property category.
DependencyPropertyChangedEventHandler WPFCustomControls::Customization::ViewModel::PropertyRow::PropertyValueChanged |
Signals when the value of this property has been changed.