C# 클래스 WinRTXamlToolkit.Controls.Extensions.ListViewItemExtensions

Attached properties for use with a ListViewItem.
Note that the IsEnabled property is to be used on an element inside of a ListView and not the ListViewItem itself.
파일 보기 프로젝트 열기: xyzzer/WinRTXamlToolkit

공개 프로퍼티들

프로퍼티 타입 설명
IsEnabledProperty Windows.UI.Xaml.DependencyProperty
IsSelectedProperty Windows.UI.Xaml.DependencyProperty

공개 메소드들

메소드 설명
GetIsEnabled ( DependencyObject d ) : bool

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

Note that the IsEnabled property is to be used on an element inside of a ListView and not the ListViewItem itself. Setting this property will update the IsEnabled property of the ListViewItem making it easier to disable selection of ListViewItems in the databound collection scenarios.

GetIsSelected ( DependencyObject d ) : bool

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

Note that the IsSelected property is to be used on an element inside of a ListView and not the ListViewItem itself. Setting this property will update the IsSelected property of the ListViewItem making it easier to disable selection of ListViewItems in the databound collection scenarios.

SetIsEnabled ( DependencyObject d, bool value ) : void

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

Note that the IsEnabled property is to be used on an element inside of a ListView and not the ListViewItem itself. Setting this property will update the IsEnabled property of the ListViewItem making it easier to disable selection of ListViewItems in the databound collection scenarios.

SetIsSelected ( DependencyObject d, bool value ) : void

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

Note that the IsSelected property is to be used on an element inside of a ListView and not the ListViewItem itself. Setting this property will update the IsSelected property of the ListViewItem making it easier to disable selection of ListViewItems in the databound collection scenarios.

비공개 메소드들

메소드 설명
OnIsEnabledChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the IsEnabled property.

OnIsSelectedChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Handles changes to the IsSelected property.

메소드 상세

GetIsEnabled() 공개 정적인 메소드

Gets the IsEnabled property. This dependency property indicates whether the first ListViewItem found in ancestors is enabled.
Note that the IsEnabled property is to be used on an element inside of a ListView and not the ListViewItem itself. Setting this property will update the IsEnabled property of the ListViewItem making it easier to disable selection of ListViewItems in the databound collection scenarios.
public static GetIsEnabled ( DependencyObject d ) : bool
d Windows.UI.Xaml.DependencyObject
리턴 bool

GetIsSelected() 공개 정적인 메소드

Gets the IsSelected property. This dependency property indicates whether the first ListViewItem found in ancestors is selected.
Note that the IsSelected property is to be used on an element inside of a ListView and not the ListViewItem itself. Setting this property will update the IsSelected property of the ListViewItem making it easier to disable selection of ListViewItems in the databound collection scenarios.
public static GetIsSelected ( DependencyObject d ) : bool
d Windows.UI.Xaml.DependencyObject
리턴 bool

SetIsEnabled() 공개 정적인 메소드

Sets the IsEnabled property. This dependency property indicates whether the first ListViewItem found in ancestors is enabled.
Note that the IsEnabled property is to be used on an element inside of a ListView and not the ListViewItem itself. Setting this property will update the IsEnabled property of the ListViewItem making it easier to disable selection of ListViewItems in the databound collection scenarios.
public static SetIsEnabled ( DependencyObject d, bool value ) : void
d Windows.UI.Xaml.DependencyObject
value bool
리턴 void

SetIsSelected() 공개 정적인 메소드

Sets the IsSelected property. This dependency property indicates whether the first ListViewItem found in ancestors is selected.
Note that the IsSelected property is to be used on an element inside of a ListView and not the ListViewItem itself. Setting this property will update the IsSelected property of the ListViewItem making it easier to disable selection of ListViewItems in the databound collection scenarios.
public static SetIsSelected ( DependencyObject d, bool value ) : void
d Windows.UI.Xaml.DependencyObject
value bool
리턴 void

프로퍼티 상세

IsEnabledProperty 공개적으로 정적으로 프로퍼티

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

IsSelectedProperty 공개적으로 정적으로 프로퍼티

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