C# Class WinRTXamlToolkit.Controls.Extensions.GridViewItemExtensions

Extension methods and properties for the GridViewItem class.
Mostrar archivo Open project: xyzzer/WinRTXamlToolkit

Public Properties

Property Type Description
IsEnabledProperty Windows.UI.Xaml.DependencyProperty
IsSelectedProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
GetIsEnabled ( DependencyObject d ) : bool

Gets the IsEnabled property. This dependency property indicates whether the first GridViewItem found in ancestors is enabled.

GetIsSelected ( DependencyObject d ) : bool

Gets the IsSelected property. This dependency property indicates whether the first GridViewItem found in ancestors is selected.

SetIsEnabled ( DependencyObject d, bool value ) : void

Sets the IsEnabled property. This dependency property indicates whether the first GridViewItem found in ancestors is enabled.

SetIsSelected ( DependencyObject d, bool value ) : void

Sets the IsSelected property. This dependency property indicates whether the first GridViewItem found in ancestors is selected.

Private Methods

Method Description
OnIsEnabledChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the IsEnabled property.

OnIsSelectedChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the IsSelected property.

Method Details

GetIsEnabled() public static method

Gets the IsEnabled property. This dependency property indicates whether the first GridViewItem found in ancestors is enabled.
public static GetIsEnabled ( DependencyObject d ) : bool
d Windows.UI.Xaml.DependencyObject
return bool

GetIsSelected() public static method

Gets the IsSelected property. This dependency property indicates whether the first GridViewItem found in ancestors is selected.
public static GetIsSelected ( DependencyObject d ) : bool
d Windows.UI.Xaml.DependencyObject
return bool

SetIsEnabled() public static method

Sets the IsEnabled property. This dependency property indicates whether the first GridViewItem found in ancestors is enabled.
public static SetIsEnabled ( DependencyObject d, bool value ) : void
d Windows.UI.Xaml.DependencyObject
value bool
return void

SetIsSelected() public static method

Sets the IsSelected property. This dependency property indicates whether the first GridViewItem found in ancestors is selected.
public static SetIsSelected ( DependencyObject d, bool value ) : void
d Windows.UI.Xaml.DependencyObject
value bool
return void

Property Details

IsEnabledProperty public_oe static_oe property

IsEnabled Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml IsEnabledProperty
return Windows.UI.Xaml.DependencyProperty

IsSelectedProperty public_oe static_oe property

IsSelected Attached Dependency Property
public static DependencyProperty,Windows.UI.Xaml IsSelectedProperty
return Windows.UI.Xaml.DependencyProperty