C# Класс Channel9Downloader.Controls.AdornedControl

This class can be used as container for adorned content.
Наследование: System.Windows.Controls.ContentControl
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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