C# 클래스 Channel9Downloader.Controls.AdornedControl

This class can be used as container for adorned content.
상속: System.Windows.Controls.ContentControl
파일 보기 프로젝트 열기: MadCowDevelopment/Channel9Downloader

공개 프로퍼티들

프로퍼티 타입 설명
AdornerContentProperty System.Windows.DependencyProperty
AdornerOffsetXProperty System.Windows.DependencyProperty
AdornerOffsetYProperty System.Windows.DependencyProperty
HideAdornerCommand System.Windows.Input.RoutedCommand
HorizontalAdornerPlacementProperty System.Windows.DependencyProperty
IsAdornerVisibleProperty System.Windows.DependencyProperty
ShowAdornerCommand System.Windows.Input.RoutedCommand
VerticalAdornerPlacementProperty System.Windows.DependencyProperty

공개 메소드들

메소드 설명
HideAdorner ( ) : void

Hide the adorner.

OnApplyTemplate ( ) : void

Applies the template.

ShowAdorner ( ) : void

Show the adorner.

비공개 메소드들

메소드 설명
AdornedControl ( ) : System

Initializes static members of the AdornedControl class.

AdornedControlDataContextChanged ( object sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Event raised when the DataContext of the adorned control changes.

AdornerContentPropertyChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Event raised when the value of AdornerContent has changed.

CreateAdornedFrameworkElementFromDataTemplateInResources ( ) : void

Creates the adorned framework element by searching for a DataTemplate that has the same type as the AdornerContent.

HideAdornerCommandExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void

Event raised when the Hide command is executed.

HideAdornerInternal ( ) : void

Internal method to hide the adorner.

IsAdornerVisiblePropertyChanged ( DependencyObject sender, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Event raised when the value of IsAdornerVisible has changed.

ShowAdornerCommandExecuted ( object sender, System.Windows.Input.ExecutedRoutedEventArgs e ) : void

Event raised when the Show command is executed.

ShowAdornerInternal ( ) : void

Internal method to show the adorner.

ShowOrHideAdornerInternal ( ) : void

Internal method to show or hide the adorner based on the value of IsAdornerVisible.

UpdateAdornerDataContext ( ) : void

Update the DataContext of the adorner from the adorned control.

메소드 상세

HideAdorner() 공개 메소드

Hide the adorner.
public HideAdorner ( ) : void
리턴 void

OnApplyTemplate() 공개 메소드

Applies the template.
public OnApplyTemplate ( ) : void
리턴 void

ShowAdorner() 공개 메소드

Show the adorner.
public ShowAdorner ( ) : void
리턴 void

프로퍼티 상세

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

Register AdornerContent dependency property.
public static DependencyProperty,System.Windows AdornerContentProperty
리턴 System.Windows.DependencyProperty

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

Register AdornerOffsetX dependency property.
public static DependencyProperty,System.Windows AdornerOffsetXProperty
리턴 System.Windows.DependencyProperty

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

Register AdornerOffsetY dependency property.
public static DependencyProperty,System.Windows AdornerOffsetYProperty
리턴 System.Windows.DependencyProperty

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

Command to hide the Adorner.
public static RoutedCommand,System.Windows.Input HideAdornerCommand
리턴 System.Windows.Input.RoutedCommand

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

Register HorizontalAdornerPlacement dependency property.
public static DependencyProperty,System.Windows HorizontalAdornerPlacementProperty
리턴 System.Windows.DependencyProperty

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

Register IsAdornerVisible dependency property.
public static DependencyProperty,System.Windows IsAdornerVisibleProperty
리턴 System.Windows.DependencyProperty

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

Command to show the Adorner.
public static RoutedCommand,System.Windows.Input ShowAdornerCommand
리턴 System.Windows.Input.RoutedCommand

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

Register VerticalAdornerPlacement dependency property.
public static DependencyProperty,System.Windows VerticalAdornerPlacementProperty
리턴 System.Windows.DependencyProperty