WPFCustomControls::Customization::ViewModel::PropertyRow Class Reference


Detailed Description

A viewmodel object for a property.

List of all members.

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.

Member Enumeration Documentation

Enumerator:
Standard 
Command 
Maxscript 
Colors 
Advanced 

Member Function Documentation

void WPFCustomControls::Customization::ViewModel::PropertyRow::OnPropertyValueChanged ( DependencyPropertyChangedEventArgs  e ) [inline, protected]

Member Data Documentation

Initial value:
            DependencyProperty.Register(
                "PropertyType",
                typeof(Type),
                typeof(PropertyRow))
Initial value:
            DependencyProperty.Register(
                "Category",
                typeof(PropertyCategory),
                typeof(PropertyRow))
Initial value:
            DependencyProperty.Register(
                "PropertyValue",
                typeof(Object),
                typeof(PropertyRow),
                new FrameworkPropertyMetadata(null,
                    new PropertyChangedCallback(PropertyValuePropertyChanged)))
Initial value:
 
            DependencyProperty.Register(
                "DefaultValue",
                typeof(Object),
                typeof(PropertyRow))
Initial value:
            DependencyProperty.Register(
                "ToolTip",
                typeof(Object),
                typeof(PropertyRow),
                new FrameworkPropertyMetadata(null))
Initial value:
            DependencyProperty.Register(
                "Bounds",
                typeof(Pair<IComparable, IComparable>?),
                typeof(PropertyRow),
                new FrameworkPropertyMetadata(null)
            )
Initial value:
            DependencyProperty.Register(
                "OutOfBounds",
                typeof(bool),
                typeof(PropertyRow),
                new FrameworkPropertyMetadata(false)
            )

Property Documentation

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.


Event Documentation

DependencyPropertyChangedEventHandler WPFCustomControls::Customization::ViewModel::PropertyRow::PropertyValueChanged

Signals when the value of this property has been changed.


WPFCustomControls::Customization::ViewModel::PropertyRow WPFCustomControls::Customization::ViewModel::PropertyRow WPFCustomControls::Customization::ViewModel::PropertyRow WPFCustomControls::Customization::ViewModel::PropertyRow WPFCustomControls::Customization::ViewModel::PropertyRow WPFCustomControls::Customization::ViewModel::PropertyRow WPFCustomControls::Customization::ViewModel::PropertyRow WPFCustomControls::Customization::ViewModel::PropertyRow WPFCustomControls::Customization::ViewModel::PropertyRow WPFCustomControls::Customization::ViewModel::PropertyRow
WPFCustomControls::Customization::ViewModel::PropertyRow WPFCustomControls::Customization::ViewModel::PropertyRow WPFCustomControls::Customization::ViewModel::PropertyRow WPFCustomControls::Customization::ViewModel::PropertyRow WPFCustomControls::Customization::ViewModel::PropertyRow WPFCustomControls::Customization::ViewModel::PropertyRow WPFCustomControls::Customization::ViewModel::PropertyRow WPFCustomControls::Customization::ViewModel::PropertyRow WPFCustomControls::Customization::ViewModel::PropertyRow WPFCustomControls::Customization::ViewModel::PropertyRow