C# Класс Fluent.GalleryItem

Represents gallery item
Наследование: System.Windows.Controls.ListBoxItem, IKeyTipedControl
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
ClickEvent System.Windows.RoutedEvent
CommandParameterProperty System.Windows.DependencyProperty
CommandProperty System.Windows.DependencyProperty
CommandTargetProperty System.Windows.DependencyProperty
GroupProperty System.Windows.DependencyProperty
IsPressedProperty System.Windows.DependencyProperty

Private Properties

Свойство Тип Описание
GalleryItem System
OnCoerceStyle object
OnCommandCanExecuteChanged void
OnCommandChanged void
OnIsSelectedPropertyChanged void
RaiseClick void
UpdateCanExecute void

Открытые методы

Метод Описание
OnKeyTipBack ( ) : void

Handles back navigation with KeyTips

OnKeyTipPressed ( ) : void

Handles key tip pressed

Защищенные методы

Метод Описание
CanExecuteCommand ( ) : bool

Determines whether the Command can be executed

ExecuteCommand ( ) : void

Execute command

OnClick ( object sender, RoutedEventArgs e ) : void

Handles click event

OnLostMouseCapture ( System.Windows.Input.MouseEventArgs e ) : void

Invoked when an unhandled E:System.Windows.Input.Mouse.LostMouseCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void

Provides class handling for the System.Windows.UIElement.MouseLeftButtonDown routed event that occurs when the left mouse button is pressed while the mouse pointer is over this control.

OnMouseLeftButtonUp ( System.Windows.Input.MouseButtonEventArgs e ) : void

Provides class handling for the System.Windows.UIElement.MouseLeftButtonUp routed event that occurs when the left mouse button is released while the mouse pointer is over this control.

Приватные методы

Метод Описание
GalleryItem ( ) : System
OnCoerceStyle ( DependencyObject d, object basevalue ) : object
OnCommandCanExecuteChanged ( object sender, EventArgs e ) : void

Handles Command CanExecute changed

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

Handles Command changed

OnIsSelectedPropertyChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
RaiseClick ( ) : void
UpdateCanExecute ( ) : void

Описание методов

CanExecuteCommand() защищенный Метод

Determines whether the Command can be executed
protected CanExecuteCommand ( ) : bool
Результат bool

ExecuteCommand() защищенный Метод

Execute command
protected ExecuteCommand ( ) : void
Результат void

OnClick() защищенный Метод

Handles click event
protected OnClick ( object sender, RoutedEventArgs e ) : void
sender object Sender
e System.Windows.RoutedEventArgs The event data
Результат void

OnKeyTipBack() публичный Метод

Handles back navigation with KeyTips
public OnKeyTipBack ( ) : void
Результат void

OnKeyTipPressed() публичный Метод

Handles key tip pressed
public OnKeyTipPressed ( ) : void
Результат void

OnLostMouseCapture() защищенный Метод

Invoked when an unhandled E:System.Windows.Input.Mouse.LostMouseCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected OnLostMouseCapture ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs The that contains event data.
Результат void

OnMouseLeftButtonDown() защищенный Метод

Provides class handling for the System.Windows.UIElement.MouseLeftButtonDown routed event that occurs when the left mouse button is pressed while the mouse pointer is over this control.
protected OnMouseLeftButtonDown ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs The event data.
Результат void

OnMouseLeftButtonUp() защищенный Метод

Provides class handling for the System.Windows.UIElement.MouseLeftButtonUp routed event that occurs when the left mouse button is released while the mouse pointer is over this control.
protected OnMouseLeftButtonUp ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs The event data.
Результат void

Описание свойств

ClickEvent публичное статическое свойство

Identifies the RibbonControl.Click routed event.
public static RoutedEvent,System.Windows ClickEvent
Результат System.Windows.RoutedEvent

CommandParameterProperty публичное статическое свойство

Identifies the CommandParameter dependency property.
public static DependencyProperty,System.Windows CommandParameterProperty
Результат System.Windows.DependencyProperty

CommandProperty публичное статическое свойство

Identifies the routed Command dependency property.
public static DependencyProperty,System.Windows CommandProperty
Результат System.Windows.DependencyProperty

CommandTargetProperty публичное статическое свойство

Identifies the CommandTarget dependency property.
public static DependencyProperty,System.Windows CommandTargetProperty
Результат System.Windows.DependencyProperty

GroupProperty публичное статическое свойство

Using a DependencyProperty as the backing store for Group. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows GroupProperty
Результат System.Windows.DependencyProperty

IsPressedProperty публичное статическое свойство

Using a DependencyProperty as the backing store for IsPressed. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows IsPressedProperty
Результат System.Windows.DependencyProperty