C# Class WpfMpdClient.GridViewColumnResize

Static class used to attach to wpf control
Show file Open project: sakya/wpfmpdclient

Public Properties

Property Type Description
EnabledProperty System.Windows.DependencyProperty
GridViewColumnResizeBehaviorProperty System.Windows.DependencyProperty
ListViewResizeBehaviorProperty System.Windows.DependencyProperty
WidthProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetEnabled ( DependencyObject obj ) : bool
GetWidth ( DependencyObject obj ) : string
SetEnabled ( DependencyObject obj, bool value ) : void
SetWidth ( DependencyObject obj, string value ) : void

Private Methods

Method Description
GetOrCreateBehavior ( System.Windows.Controls.GridViewColumn element ) : GridViewColumnResizeBehavior
GetOrCreateBehavior ( System.Windows.Controls.ListView element ) : ListViewResizeBehavior
OnSetEnabledCallback ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnSetWidthCallback ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

GetEnabled() public static method

public static GetEnabled ( DependencyObject obj ) : bool
obj System.Windows.DependencyObject
return bool

GetWidth() public static method

public static GetWidth ( DependencyObject obj ) : string
obj System.Windows.DependencyObject
return string

SetEnabled() public static method

public static SetEnabled ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject
value bool
return void

SetWidth() public static method

public static SetWidth ( DependencyObject obj, string value ) : void
obj System.Windows.DependencyObject
value string
return void

Property Details

EnabledProperty public static property

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

GridViewColumnResizeBehaviorProperty public static property

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

ListViewResizeBehaviorProperty public static property

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

WidthProperty public static property

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