C# Class ComponentFactory.Quicksilver.Layout.BaseDefinition

Defines common row/column definition details.
Inheritance: System.Windows.FrameworkContentElement
Mostra file Open project: ComponentFactory/Quicksilver Class Usage Examples

Protected Methods

Method Description
IsMaxSizePropertyValueValid ( object value ) : bool

Validate if the value is appropriate for a MaxWidth property.

IsMinSizePropertyValueValid ( object value ) : bool

Validate if the value is appropriate for a MinWidth property.

IsSizePropertyValueValid ( object value ) : bool

Validate if the value is appropriate for a Width property.

OnNeedMeasure ( object sender, EventArgs e ) : void

Raises the NeedMeasure event.

OnNeedMeasureOnChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Invoked when a property change requires a measure to occur.

Method Details

IsMaxSizePropertyValueValid() protected static method

Validate if the value is appropriate for a MaxWidth property.
protected static IsMaxSizePropertyValueValid ( object value ) : bool
value object Value to validate.
return bool

IsMinSizePropertyValueValid() protected static method

Validate if the value is appropriate for a MinWidth property.
protected static IsMinSizePropertyValueValid ( object value ) : bool
value object Value to validate.
return bool

IsSizePropertyValueValid() protected static method

Validate if the value is appropriate for a Width property.
protected static IsSizePropertyValueValid ( object value ) : bool
value object Value to validate.
return bool

OnNeedMeasure() protected method

Raises the NeedMeasure event.
protected OnNeedMeasure ( object sender, EventArgs e ) : void
sender object Source instance.
e System.EventArgs An EventArgs containing the event data.
return void

OnNeedMeasureOnChanged() protected static method

Invoked when a property change requires a measure to occur.
protected static OnNeedMeasureOnChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
d System.Windows.DependencyObject Owning object.
e System.Windows.DependencyPropertyChangedEventArgs Details of property that has changed.
return void