C# Class Fluent.GalleryItem

Represents gallery item
Inheritance: System.Windows.Controls.ListBoxItem, IKeyTipedControl
ファイルを表示 Open project: Gainedge/BetterExplorer Class Usage Examples

Public Properties

Property 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

Property Type Description
GalleryItem System
OnCoerceStyle object
OnCommandCanExecuteChanged void
OnCommandChanged void
OnIsSelectedPropertyChanged void
RaiseClick void
UpdateCanExecute void

Public Methods

Method Description
OnKeyTipBack ( ) : void

Handles back navigation with KeyTips

OnKeyTipPressed ( ) : void

Handles key tip pressed

Protected Methods

Method 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

Method 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 method

Determines whether the Command can be executed
protected CanExecuteCommand ( ) : bool
return bool

ExecuteCommand() protected method

Execute command
protected ExecuteCommand ( ) : void
return void

OnClick() protected method

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

OnKeyTipBack() public method

Handles back navigation with KeyTips
public OnKeyTipBack ( ) : void
return void

OnKeyTipPressed() public method

Handles key tip pressed
public OnKeyTipPressed ( ) : void
return void

OnLostMouseCapture() protected method

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.
return void

OnMouseLeftButtonDown() protected method

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.
return void

OnMouseLeftButtonUp() protected method

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.
return void

Property Details

ClickEvent public_oe static_oe property

Identifies the RibbonControl.Click routed event.
public static RoutedEvent,System.Windows ClickEvent
return System.Windows.RoutedEvent

CommandParameterProperty public_oe static_oe property

Identifies the CommandParameter dependency property.
public static DependencyProperty,System.Windows CommandParameterProperty
return System.Windows.DependencyProperty

CommandProperty public_oe static_oe property

Identifies the routed Command dependency property.
public static DependencyProperty,System.Windows CommandProperty
return System.Windows.DependencyProperty

CommandTargetProperty public_oe static_oe property

Identifies the CommandTarget dependency property.
public static DependencyProperty,System.Windows CommandTargetProperty
return 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
return 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
return System.Windows.DependencyProperty