C# 클래스 Microsoft.Silverlight.Testing.Controls.HeaderedItemsControl

상속: System.Windows.Controls.ItemsControl
파일 보기 프로젝트 열기: garyjohnson/wpnest 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
HeaderProperty System.Windows.DependencyProperty
HeaderTemplateProperty System.Windows.DependencyProperty
ItemContainerStyleProperty System.Windows.DependencyProperty

Private Properties

프로퍼티 타입 설명
HasDefaultValue bool
OnHeaderPropertyChanged void
OnHeaderTemplatePropertyChanged void
OnItemContainerStylePropertyChanged void
PrepareHeaderedItemsControlContainer void
PreparePrepareHeaderedItemsControlContainerForItemOverride void

공개 메소드들

메소드 설명
HeaderedItemsControl ( ) : System

Initializes a new instance of the T:Microsoft.Silverlight.Testing.Controls.HeaderedItemsControl class.

OnApplyTemplate ( ) : void

Builds the visual tree for the T:Microsoft.Silverlight.Testing.Controls.HeaderedItemsControl when a new template is applied.

보호된 메소드들

메소드 설명
OnHeaderChanged ( object oldHeader, object newHeader ) : void

Called when the value of the P:Microsoft.Silverlight.Testing.Controls.HeaderedItemsControl.Header property changes.

OnHeaderTemplateChanged ( System.Windows.DataTemplate oldHeaderTemplate, System.Windows.DataTemplate newHeaderTemplate ) : void

Called when the value of the P:Microsoft.Silverlight.Testing.Controls.HeaderedItemsControl.HeaderTemplate property changes.

PrepareContainerForItemOverride ( DependencyObject element, object item ) : void

Prepares the specified element to display the specified item.

비공개 메소드들

메소드 설명
HasDefaultValue ( Control control, DependencyProperty property ) : bool

Check whether a control has the default value for a property.

OnHeaderPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

HeaderProperty property changed handler.

OnHeaderTemplatePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

HeaderTemplateProperty property changed handler.

OnItemContainerStylePropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

ItemContainerStyleProperty property changed handler.

PrepareHeaderedItemsControlContainer ( HeaderedItemsControl control, object item, ItemsControl parentItemsControl, System.Windows.Style parentItemContainerStyle ) : void

Prepare a PrepareHeaderedItemsControlContainer container for an item.

PreparePrepareHeaderedItemsControlContainerForItemOverride ( DependencyObject element, object item, ItemsControl parent, System.Windows.Style parentItemContainerStyle ) : void

Prepares the specified container to display the specified item.

메소드 상세

HeaderedItemsControl() 공개 메소드

Initializes a new instance of the T:Microsoft.Silverlight.Testing.Controls.HeaderedItemsControl class.
public HeaderedItemsControl ( ) : System
리턴 System

OnApplyTemplate() 공개 메소드

Builds the visual tree for the T:Microsoft.Silverlight.Testing.Controls.HeaderedItemsControl when a new template is applied.
public OnApplyTemplate ( ) : void
리턴 void

OnHeaderChanged() 보호된 메소드

Called when the value of the P:Microsoft.Silverlight.Testing.Controls.HeaderedItemsControl.Header property changes.
protected OnHeaderChanged ( object oldHeader, object newHeader ) : void
oldHeader object /// The old value of the /// /// property. ///
newHeader object /// The new value of the /// /// property. ///
리턴 void

OnHeaderTemplateChanged() 보호된 메소드

Called when the value of the P:Microsoft.Silverlight.Testing.Controls.HeaderedItemsControl.HeaderTemplate property changes.
protected OnHeaderTemplateChanged ( System.Windows.DataTemplate oldHeaderTemplate, System.Windows.DataTemplate newHeaderTemplate ) : void
oldHeaderTemplate System.Windows.DataTemplate /// The old value of the /// /// property. ///
newHeaderTemplate System.Windows.DataTemplate /// The new value of the /// /// property. ///
리턴 void

PrepareContainerForItemOverride() 보호된 메소드

Prepares the specified element to display the specified item.
protected PrepareContainerForItemOverride ( DependencyObject element, object item ) : void
element System.Windows.DependencyObject /// The container element used to display the specified item. ///
item object The content to display.
리턴 void

프로퍼티 상세

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

Identifies the P:Microsoft.Silverlight.Testing.Controls.HeaderedItemsControl.Header dependency property.
Note: WPF defines this property via a call to AddOwner of HeaderedContentControl's HeaderProperty.
public static DependencyProperty,System.Windows HeaderProperty
리턴 System.Windows.DependencyProperty

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

Identifies the P:Microsoft.Silverlight.Testing.Controls.HeaderedItemsControl.HeaderTemplate dependency property.
Note: WPF defines this property via a call to AddOwner of HeaderedContentControl's HeaderTemplateProperty.
public static DependencyProperty,System.Windows HeaderTemplateProperty
리턴 System.Windows.DependencyProperty

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

Identifies the P:Microsoft.Silverlight.Testing.Controls.HeaderedItemsControl.ItemContainerStyle dependency property.
public static DependencyProperty,System.Windows ItemContainerStyleProperty
리턴 System.Windows.DependencyProperty