C# Class Fluent.GalleryItem

Represents gallery item
Inheritance: System.Windows.Controls.ListBoxItem, IKeyTipedControl
Afficher le fichier Open project: Gainedge/BetterExplorer Class Usage Examples

Méthodes publiques

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

Свойство Type Description
GalleryItem System
OnCoerceStyle object
OnCommandCanExecuteChanged void
OnCommandChanged void
OnIsSelectedPropertyChanged void
RaiseClick void
UpdateCanExecute void

Méthodes publiques

Méthode Description
OnKeyTipBack ( ) : void

Handles back navigation with KeyTips

OnKeyTipPressed ( ) : void

Handles key tip pressed

Méthodes protégées

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

Private Methods

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

Method Details

CanExecuteCommand() protected méthode

Determines whether the Command can be executed
protected CanExecuteCommand ( ) : bool
Résultat bool

ExecuteCommand() protected méthode

Execute command
protected ExecuteCommand ( ) : void
Résultat void

OnClick() protected méthode

Handles click event
protected OnClick ( object sender, RoutedEventArgs e ) : void
sender object Sender
e System.Windows.RoutedEventArgs The event data
Résultat void

OnKeyTipBack() public méthode

Handles back navigation with KeyTips
public OnKeyTipBack ( ) : void
Résultat void

OnKeyTipPressed() public méthode

Handles key tip pressed
public OnKeyTipPressed ( ) : void
Résultat void

OnLostMouseCapture() protected méthode

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.
Résultat void

OnMouseLeftButtonDown() protected méthode

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.
Résultat void

OnMouseLeftButtonUp() protected méthode

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.
Résultat void

Property Details

ClickEvent public_oe static_oe property

Identifies the RibbonControl.Click routed event.
public static RoutedEvent,System.Windows ClickEvent
Résultat System.Windows.RoutedEvent

CommandParameterProperty public_oe static_oe property

Identifies the CommandParameter dependency property.
public static DependencyProperty,System.Windows CommandParameterProperty
Résultat System.Windows.DependencyProperty

CommandProperty public_oe static_oe property

Identifies the routed Command dependency property.
public static DependencyProperty,System.Windows CommandProperty
Résultat System.Windows.DependencyProperty

CommandTargetProperty public_oe static_oe property

Identifies the CommandTarget dependency property.
public static DependencyProperty,System.Windows CommandTargetProperty
Résultat System.Windows.DependencyProperty

GroupProperty public_oe static_oe property

Using a DependencyProperty as the backing store for Group. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows GroupProperty
Résultat System.Windows.DependencyProperty

IsPressedProperty public_oe static_oe property

Using a DependencyProperty as the backing store for IsPressed. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows IsPressedProperty
Résultat System.Windows.DependencyProperty