Class BinaryKeyTip
A class that helps in displaying KeyTips on all controls hosted in BinaryRibbonWindow control.
Assembly: Binarymission.WPF.Controls.BinaryRibbon.dll
Syntax
public class BinaryKeyTip : Control
Constructors
BinaryKeyTip()
Declaration
Methods
A helper method for changing the color for access tips on a given framework element.
Declaration
public static void ChangeColorForAccessTips(FrameworkElement fe, Brush desiredBrush, BinaryKeyTip.BrushChangeTargetProperty changeTargetProperty)
Parameters
GetAccessKey(DependencyObject)
Gets the access key / keytip / key code string set for a given control's instance.
Declaration
public static string GetAccessKey(DependencyObject obj)
Parameters
Returns
GetDeferOrDisable(DependencyObject)
Gets as to whether to defer or disable keytip display on a given control.
Declaration
public static bool GetDeferOrDisable(DependencyObject obj)
Parameters
Returns
GetTipBackground(DependencyObject)
Gets the Keytip background brush.
Declaration
public static Brush GetTipBackground(DependencyObject obj)
Parameters
Returns
GetTipForeground(DependencyObject)
Gets the Keytip foreground brush.
Declaration
public static Brush GetTipForeground(DependencyObject obj)
Parameters
Returns
GetXOffset(DependencyObject)
Gets the X offset of the bounds where the KeyTip will be displayed.
Declaration
public static double GetXOffset(DependencyObject obj)
Parameters
Returns
GetYOffset(DependencyObject)
Gets the Y offset of the bounds where the KeyTip will be displayed.
Declaration
public static double GetYOffset(DependencyObject obj)
Parameters
Returns
SetAccessKey(DependencyObject, String)
Sets the access key / keytip / key code string for a given control's instance.
Declaration
public static void SetAccessKey(DependencyObject obj, string value)
Parameters
SetDeferOrDisable(DependencyObject, Boolean)
Sets as to whether to defer or disable keytip display on a given control.
Declaration
public static void SetDeferOrDisable(DependencyObject obj, bool value)
Parameters
Sets the keytip background brush.
Declaration
public static void SetTipBackground(DependencyObject obj, Brush value)
Parameters
Sets the Keytip foreground brush.
Declaration
public static void SetTipForeground(DependencyObject obj, Brush value)
Parameters
SetXOffset(DependencyObject, Double)
Sets the X offset for displaying the KeyTip.
Declaration
public static void SetXOffset(DependencyObject obj, double value)
Parameters
SetYOffset(DependencyObject, Double)
Sets the Y offset for displaying the KeyTip.
Declaration
public static void SetYOffset(DependencyObject obj, double value)
Parameters