Class SystemWindowsControls
- Namespace
- SunamoDevCode
- Assembly
- SunamoDevCode.dll
Helper class for System.Windows controls shortcuts and names
public static class SystemWindowsControls
- Inheritance
-
SystemWindowsControls
- Inherited Members
Methods
Init()
Initializes the embedded resources and controls dictionary
public static void Init()
InitControlsShortLong()
Initializes the controls short to long mapping dictionary
public static void InitControlsShortLong()
IsNameOfControl(string)
Checks if the given text is a control name
public static bool IsNameOfControl(string text)
Parameters
textstringText to check
Returns
- bool
True if text is a control name
IsShortcutOfControl(string)
Checks if the given text is a control shortcut
public static bool IsShortcutOfControl(string text)
Parameters
textstringText to check
Returns
- bool
True if text is a control shortcut
StartingWithShortcutOfControl(string)
Checks if the given text starts with any control shortcut
public static bool StartingWithShortcutOfControl(string text)
Parameters
textstringText to check
Returns
- bool
True if text starts with a control shortcut