C# 클래스 Microsoft.Phone.Controls.ExpanderView

상속: System.Windows.Controls.HeaderedItemsControl
파일 보기 프로젝트 열기: Kinnara/WPToolkit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ExpanderProperty System.Windows.DependencyProperty
ExpanderTemplateProperty System.Windows.DependencyProperty
HasItemsProperty System.Windows.DependencyProperty
IsExpandedProperty System.Windows.DependencyProperty
IsNonExpandableProperty System.Windows.DependencyProperty
NonExpandableHeaderProperty System.Windows.DependencyProperty
NonExpandableHeaderTemplateProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
ExpanderView ( ) : System

Initializes a new instance of the ExpanderView class.

OnApplyTemplate ( ) : void

Gets the template parts and sets event handlers.

보호된 메소드들

메소드 설명
OnCollapsed ( RoutedEventArgs e ) : void

Raises a Collapsed event when the IsExpanded property changes from true to false.

OnExpanded ( RoutedEventArgs e ) : void

Raises an Expanded event when the IsExpanded property changes from false to true.

OnExpanderChanged ( object oldExpander, object newExpander ) : void

Called when the value of th Expander property changes.

OnExpanderTemplateChanged ( System.Windows.DataTemplate oldTemplate, System.Windows.DataTemplate newTemplate ) : void

Called when the value of the ExpanderTemplate property changes.

OnItemsChanged ( NotifyCollectionChangedEventArgs e ) : void

Updates the HasItems property.

OnNonExpandableHeaderChanged ( object oldHeader, object newHeader ) : void

Called when the value of the NonExpandableHeader property changes.

OnNonExpandableHeaderTemplateChanged ( System.Windows.DataTemplate oldTemplate, System.Windows.DataTemplate newTemplate ) : void

Called when the value of the NonExpandableHeaderTemplate property changes.

비공개 메소드들

메소드 설명
AnimateContainerDropDown ( ) : void

Provides the feathered animation for items when the Expander View goes from collapsed to expanded.

OnExpanderPanelTap ( object sender, System e ) : void

Toggles the IsExpanded property.

OnExpanderPropertyChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void

ExpanderProperty changed handler.

OnExpanderTemplatePropertyChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void

ExpanderTemplateProperty changed handler.

OnIsExpandedPropertyChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void

IsExpandedProperty changed handler.

OnIsNonExpandablePropertyChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void

IsNonExpandableProperty changed handler.

OnNonExpandableHeaderPropertyChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void

NonExpandableHeaderProperty changed handler.

OnNonExpandableHeaderTemplatePropertyChanged ( DependencyObject obj, System.Windows.DependencyPropertyChangedEventArgs e ) : void

NonExpandableHeaderTemplate changed handler.

OnPresenterSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void

Recalculates size of canvas based on the size change for the presenter.

OnSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void

Recalculates the size of the presenter to match its parent.

RaiseEvent ( RoutedEventHandler handler, RoutedEventArgs args ) : void

Raises a routed event.

UpdateVisualState ( bool useTransitions ) : void

Updates the visual state.

메소드 상세

ExpanderView() 공개 메소드

Initializes a new instance of the ExpanderView class.
public ExpanderView ( ) : System
리턴 System

OnApplyTemplate() 공개 메소드

Gets the template parts and sets event handlers.
public OnApplyTemplate ( ) : void
리턴 void

OnCollapsed() 보호된 메소드

Raises a Collapsed event when the IsExpanded property changes from true to false.
protected OnCollapsed ( RoutedEventArgs e ) : void
e System.Windows.RoutedEventArgs The event information.
리턴 void

OnExpanded() 보호된 메소드

Raises an Expanded event when the IsExpanded property changes from false to true.
protected OnExpanded ( RoutedEventArgs e ) : void
e System.Windows.RoutedEventArgs The event information.
리턴 void

OnExpanderChanged() 보호된 메소드

Called when the value of th Expander property changes.
protected OnExpanderChanged ( object oldExpander, object newExpander ) : void
oldExpander object /// The old value of the Expander property. ///
newExpander object /// The new value of the Expander property. ///
리턴 void

OnExpanderTemplateChanged() 보호된 메소드

Called when the value of the ExpanderTemplate property changes.
protected OnExpanderTemplateChanged ( System.Windows.DataTemplate oldTemplate, System.Windows.DataTemplate newTemplate ) : void
oldTemplate System.Windows.DataTemplate /// The old value of the ExpanderTemplate property. ///
newTemplate System.Windows.DataTemplate /// The new value of the ExpanderTemplate property. ///
리턴 void

OnItemsChanged() 보호된 메소드

Updates the HasItems property.
protected OnItemsChanged ( NotifyCollectionChangedEventArgs e ) : void
e System.Collections.Specialized.NotifyCollectionChangedEventArgs The event information.
리턴 void

OnNonExpandableHeaderChanged() 보호된 메소드

Called when the value of the NonExpandableHeader property changes.
protected OnNonExpandableHeaderChanged ( object oldHeader, object newHeader ) : void
oldHeader object /// The old value of the NonExpandableHeader property. ///
newHeader object /// The new value of the NonExpandableHeader property. ///
리턴 void

OnNonExpandableHeaderTemplateChanged() 보호된 메소드

Called when the value of the NonExpandableHeaderTemplate property changes.
protected OnNonExpandableHeaderTemplateChanged ( System.Windows.DataTemplate oldTemplate, System.Windows.DataTemplate newTemplate ) : void
oldTemplate System.Windows.DataTemplate /// The old value of the NonExpandableHeaderTemplate property. ///
newTemplate System.Windows.DataTemplate /// The new value of the NonExpandableHeaderTemplate property. ///
리턴 void

프로퍼티 상세

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

Identifies the Expander dependency property.
public static DependencyProperty,System.Windows ExpanderProperty
리턴 System.Windows.DependencyProperty

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

Identifies the ExpanderTemplate dependency property.
public static DependencyProperty,System.Windows ExpanderTemplateProperty
리턴 System.Windows.DependencyProperty

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

Identifies the HasItems dependency property.
public static DependencyProperty,System.Windows HasItemsProperty
리턴 System.Windows.DependencyProperty

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

Identifies the IsExpanded dependency property.
public static DependencyProperty,System.Windows IsExpandedProperty
리턴 System.Windows.DependencyProperty

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

Identifies the NonExpandable dependency property.
public static DependencyProperty,System.Windows IsNonExpandableProperty
리턴 System.Windows.DependencyProperty

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

Identifies the NonExpandableHeader dependency property.
public static DependencyProperty,System.Windows NonExpandableHeaderProperty
리턴 System.Windows.DependencyProperty

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

Identifies the NonExpandableHeaderTemplate dependency property.
public static DependencyProperty,System.Windows NonExpandableHeaderTemplateProperty
리턴 System.Windows.DependencyProperty