C# Class withSIX.Core.Presentation.Wpf.Behaviors.UniformGridBehavior

Show file Open project: SIXNetworks/withSIX.Desktop

Public Properties

Property Type Description
ItemWidthProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetItemWidth ( System.Windows.Controls.Primitives.UniformGrid grid ) : double
SetItemWidth ( System.Windows.Controls.Primitives.UniformGrid grid, double value ) : void

Private Methods

Method Description
GetColumns ( double x, double val ) : int
OnItemWidthChanged ( DependencyObject depObj, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

GetItemWidth() public static method

public static GetItemWidth ( System.Windows.Controls.Primitives.UniformGrid grid ) : double
grid System.Windows.Controls.Primitives.UniformGrid
return double

SetItemWidth() public static method

public static SetItemWidth ( System.Windows.Controls.Primitives.UniformGrid grid, double value ) : void
grid System.Windows.Controls.Primitives.UniformGrid
value double
return void

Property Details

ItemWidthProperty public static property

public static DependencyProperty,System.Windows ItemWidthProperty
return System.Windows.DependencyProperty