C# Class Channel9Downloader.Controls.AdornedControl

This class can be used as container for adorned content.
Inheritance: System.Windows.Controls.ContentControl
Afficher le fichier Open project: MadCowDevelopment/Channel9Downloader

Méthodes publiques

Свойство Type Description
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

Méthodes publiques

Méthode Description
HideAdorner ( ) : void

Hide the adorner.

OnApplyTemplate ( ) : void

Applies the template.

ShowAdorner ( ) : void

Show the adorner.

Private Methods

Méthode Description
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.

Method Details

HideAdorner() public méthode

Hide the adorner.
public HideAdorner ( ) : void
Résultat void

OnApplyTemplate() public méthode

Applies the template.
public OnApplyTemplate ( ) : void
Résultat void

ShowAdorner() public méthode

Show the adorner.
public ShowAdorner ( ) : void
Résultat void

Property Details

AdornerContentProperty public_oe static_oe property

Register AdornerContent dependency property.
public static DependencyProperty,System.Windows AdornerContentProperty
Résultat System.Windows.DependencyProperty

AdornerOffsetXProperty public_oe static_oe property

Register AdornerOffsetX dependency property.
public static DependencyProperty,System.Windows AdornerOffsetXProperty
Résultat System.Windows.DependencyProperty

AdornerOffsetYProperty public_oe static_oe property

Register AdornerOffsetY dependency property.
public static DependencyProperty,System.Windows AdornerOffsetYProperty
Résultat System.Windows.DependencyProperty

HideAdornerCommand public_oe static_oe property

Command to hide the Adorner.
public static RoutedCommand,System.Windows.Input HideAdornerCommand
Résultat System.Windows.Input.RoutedCommand

HorizontalAdornerPlacementProperty public_oe static_oe property

Register HorizontalAdornerPlacement dependency property.
public static DependencyProperty,System.Windows HorizontalAdornerPlacementProperty
Résultat System.Windows.DependencyProperty

IsAdornerVisibleProperty public_oe static_oe property

Register IsAdornerVisible dependency property.
public static DependencyProperty,System.Windows IsAdornerVisibleProperty
Résultat System.Windows.DependencyProperty

ShowAdornerCommand public_oe static_oe property

Command to show the Adorner.
public static RoutedCommand,System.Windows.Input ShowAdornerCommand
Résultat System.Windows.Input.RoutedCommand

VerticalAdornerPlacementProperty public_oe static_oe property

Register VerticalAdornerPlacement dependency property.
public static DependencyProperty,System.Windows VerticalAdornerPlacementProperty
Résultat System.Windows.DependencyProperty