C# Class Fluent.ToggleButton

Inheritance: System.Windows.Controls.Primitives.ToggleButton, IToggleButton, IRibbonControl, IQuickAccessItemProvider
Datei anzeigen Open project: Gainedge/BetterExplorer Class Usage Examples

Public Properties

Property Type Description
CanAddToQuickAccessToolBarProperty System.Windows.DependencyProperty
GroupNameProperty System.Windows.DependencyProperty
HeaderProperty System.Windows.DependencyProperty
IconProperty System.Windows.DependencyProperty
IsDefinitiveProperty System.Windows.DependencyProperty
LargeIconProperty System.Windows.DependencyProperty

Public Methods

Method Description
CreateQuickAccessItem ( ) : FrameworkElement

Gets control which represents shortcut item. This item MUST be syncronized with the original and send command to original one control.

InvokeClick ( ) : void
OnKeyTipBack ( ) : void

Handles back navigation with KeyTips

OnKeyTipPressed ( ) : void

Handles key tip pressed

Protected Methods

Method Description
OnClick ( ) : void

Called when a T:System.Windows.Controls.Button is clicked.

Private Methods

Method Description
OnCoerceStyle ( DependencyObject d, object basevalue ) : object
OnIconChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void
ToggleButton ( ) : System

Method Details

CreateQuickAccessItem() public method

Gets control which represents shortcut item. This item MUST be syncronized with the original and send command to original one control.
public CreateQuickAccessItem ( ) : FrameworkElement
return System.Windows.FrameworkElement

InvokeClick() public method

public InvokeClick ( ) : void
return void

OnClick() protected method

Called when a T:System.Windows.Controls.Button is clicked.
protected OnClick ( ) : void
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

Property Details

CanAddToQuickAccessToolBarProperty public_oe static_oe property

Using a DependencyProperty as the backing store for CanAddToQuickAccessToolBar. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows CanAddToQuickAccessToolBarProperty
return System.Windows.DependencyProperty

GroupNameProperty public_oe static_oe property

Using a DependencyProperty as the backing store for GroupName. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows GroupNameProperty
return System.Windows.DependencyProperty

HeaderProperty public_oe static_oe property

Using a DependencyProperty as the backing store for Header. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows HeaderProperty
return System.Windows.DependencyProperty

IconProperty public_oe static_oe property

Using a DependencyProperty as the backing store for Icon. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows IconProperty
return System.Windows.DependencyProperty

IsDefinitiveProperty public_oe static_oe property

Using a DependencyProperty as the backing store for IsDefinitive. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows IsDefinitiveProperty
return System.Windows.DependencyProperty

LargeIconProperty public_oe static_oe property

Using a DependencyProperty as the backing store for SmallIcon. This enables animation, styling, binding, etc...
public static DependencyProperty,System.Windows LargeIconProperty
return System.Windows.DependencyProperty