C# Class ChatterBox.Client.Presentation.Shared.AttachedProperties.ActualSize

Show file Open project: openpeer/ChatterBox

Public Properties

Property Type Description
ActualHeightProperty Windows.UI.Xaml.DependencyProperty
ActualWidthProperty Windows.UI.Xaml.DependencyProperty
EnabledProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
GetActualHeight ( DependencyObject obj ) : double

Gets the value of the ActualHeight attached property for a given dependency object.

GetActualWidth ( DependencyObject obj ) : double

Gets the value of the ActualWidth attached property for a given dependency object.

GetEnabled ( DependencyObject obj ) : bool

Gets the value of the Enabled attached property for a given dependency object.

SetActualHeight ( DependencyObject obj, double value ) : void

Sets the value of the ActualHeight attached property for a given dependency object.

SetActualWidth ( DependencyObject obj, double value ) : void

Sets the value of the ActualWidth attached property for a given dependency object.

SetEnabled ( DependencyObject obj, bool value ) : void

Sets the value of the Enabled attached property for a given dependency object.

Private Methods

Method Description
Element_SizeChanged ( object sender, SizeChangedEventArgs e ) : void
OnActualSizeEnable ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Method Details

GetActualHeight() public static method

Gets the value of the ActualHeight attached property for a given dependency object.
public static GetActualHeight ( DependencyObject obj ) : double
obj Windows.UI.Xaml.DependencyObject The object for which the property value /// is read.
return double

GetActualWidth() public static method

Gets the value of the ActualWidth attached property for a given dependency object.
public static GetActualWidth ( DependencyObject obj ) : double
obj Windows.UI.Xaml.DependencyObject The object for which the property value /// is read.
return double

GetEnabled() public static method

Gets the value of the Enabled attached property for a given dependency object.
public static GetEnabled ( DependencyObject obj ) : bool
obj Windows.UI.Xaml.DependencyObject The object for which the property value /// is read.
return bool

SetActualHeight() public static method

Sets the value of the ActualHeight attached property for a given dependency object.
public static SetActualHeight ( DependencyObject obj, double value ) : void
obj Windows.UI.Xaml.DependencyObject The object to which the property value /// is written.
value double Sets the ActualHeight value of the specified object.
return void

SetActualWidth() public static method

Sets the value of the ActualWidth attached property for a given dependency object.
public static SetActualWidth ( DependencyObject obj, double value ) : void
obj Windows.UI.Xaml.DependencyObject The object to which the property value /// is written.
value double Sets the ActualWidth value of the specified object.
return void

SetEnabled() public static method

Sets the value of the Enabled attached property for a given dependency object.
public static SetEnabled ( DependencyObject obj, bool value ) : void
obj Windows.UI.Xaml.DependencyObject The object to which the property value /// is written.
value bool Sets the Enabled value of the specified object.
return void

Property Details

ActualHeightProperty public static property

Identifies the ActualHeight attached property.
public static DependencyProperty,Windows.UI.Xaml ActualHeightProperty
return Windows.UI.Xaml.DependencyProperty

ActualWidthProperty public static property

Identifies the ActualWidth attached property.
public static DependencyProperty,Windows.UI.Xaml ActualWidthProperty
return Windows.UI.Xaml.DependencyProperty

EnabledProperty public static property

Identifies the Enabled attached property.
public static DependencyProperty,Windows.UI.Xaml EnabledProperty
return Windows.UI.Xaml.DependencyProperty