The following tables list the members exposed by Utilities.
Name | Description | |
---|---|---|
CanAssert | ||
IsHighContrast | Gets whether the system should render controls with high contrast. | |
IsWin10OrLater | Gets a value indicating whether the OS is win10 or later. | |
IsWin11OrLater | Gets a value indicating whether the OS is win11 or later. |
Name | Description | |
---|---|---|
AddMessageFilter | Adds a message filter to monitor Windows messages as they are routed to their destinations. | |
AddPreFilterMessageFilter | Adds a message filter to the top of the list to monitor Windows messages as they are routed to their destinations. | |
AdjustRectangleForBorders | Adjusts the rectangle for borders. | |
CaptureScreen | Overloaded. Captures a snapshot of portion of the screen. | |
CopyGraphics | Copies the contents of one graphics object to another based on the supplied source rectangle and destination point. | |
CopyToClipboard | Helper method to invoke the Clipboard.SetDataObject method. | |
CreateLargestFont | Overloaded. Creates the largest of the fonts among the specified appearances. | |
CreatePen | Overloaded. Returns a System.Drawing.Pen representing the color. | |
CreateSolidBrush | Returns a System.Drawing.SolidBrush representing the color. | |
DefaultCompare | Overloaded. Compares the two specified objects, if possible. | |
DragScrollTimerIntervalFromDelta | Returns the suggested number of milliseconds for a drag scroll timer based on the specified delta and linear screen size. | |
DrawControlToBitmap | Renders a control into the specified bitmap. | |
EnableFormCloseButton | Changes the enabled state of a Form's Close button. | |
EnterNativeMessageFilterMode | This method is used to request that all Infragistics objects using the AddMessageFilter methods receive their notifications from a native windows operating system hook instead of attempting to use the .Net Application messagefilter infrastructure. | |
ExitNativeMessageFilterMode | This method is used to remove a request placed by a call to EnterNativeMessageFilterMode. When all of the requests have been removed, the default calculation will be used to determine whether a native or .net message filter implemenation will be used. | |
FindContainedComponentByName | Does a recursive search through the container's descendant controls and components and returns the component with the specified name. | |
FindContainedControlByName | Does a recursive search through the container's descendant controls and returns the control with the specified name. | |
FocusControlWithoutScrollingIntoView | Focuses a control without scrolling it into view if it is contained in a ScrollableControl. | |
ForceNativeMessageFilter | This method is used to force all Infragistics objects using the AddMessageFilter methods to receive their notifications from a native windows operating system hook instead of attempting to use the .Net Application messagefilter infrastructure. | |
GetDistance | Returns the distance between two points. | |
GetFirstLineOfString | Returns the first line of text from the specified string, omitting newline characters as well as all text following the first occurrence of the newline character. | |
GetFirstMnemonicChar | Overloaded. Returns the first mnemonic character found in a string. | |
GetFontForZoomFactor | Create a font from a base font and a zoom factor. If the zoom factor is equal to 1, this method simply returns the base font. | |
GetInheritanceAttribute | Gets the InheritanceAttribute of an object. | |
GetLocalizedKeyString | Overloaded. Returns the localized string for the specified Keys | |
GetLocalizedShortcutString | Overloaded. Returns the localized | |
GetLocalizedString | Gets the localized string from the win assembly. | |
GetNextCheckState | Returns the next CheckState value for the specified checkState, based on whether the returned value can include the indeterminate state. | |
GetNonSystemColor | Returns a color that is not flagged as a system color. | |
GetParent | Gets the parent of the specified control. | |
GetPrimaryScreen | ||
GetRectangleForZoomFactor | Overloaded. Creates a new rectangle based on the provided base rectangle and the zoom factor. | |
GetTextHeight | Support For Whidbey SnapLines Gets the height of text used to calculate a Text BaseLine SnapLine | |
GetTimeZones | Returns an array list of TimeZoneInfo objects. | |
GetUnderlyingType | Takes a Type and returns the underlying (non-nullable) type, if the Type is nullable. If the specified type is not nullable, then the passed-in type is returned. | |
GetZoomedValue | Overloaded. Scales the value based on the zoomFactor of the control. | |
IsActiveControl | Checks the parent chain of IContainerControls to ensure that the specified control is the resolved active control. In other words, that the control is the active control of its container control which is the active control of its container control, etc. | |
IsActiveFormRelated | Overloaded. Determines if the current active form is related to a control. | |
IsControlOnActiveForm | Overloaded. Determines if the control is on the active form. | |
IsDataMemberChangeRequired | Returns true if the data member should be changed. | |
IsFormActive | Determines if the form is the active form. This will also return true if any owned forms are active. | |
IsFormOrOwnedFormActive | Gets the value which indicates whether the specified form or any forms owned by the specified form are active. | |
IsHotTracked | Indicates if a button using the specified state should be considered as hottracked. | |
IsNullableType | Returns true if the specified type is a generic nullable type; otherwise false. | |
IsNumericType | Determines if a given System.Type is a numeric type. | |
IsPressed | Indicates if a button using the specified state should be considered as pressed. | |
IsTouchSupported | Overloaded. Returns a boolean value indicating whether the local machine supports a touch-enabled input digitizer. | |
NumberContainsNoFractionalPart | Determines whether or not a number has a fractional part. | |
ParseShortcutString | Overloaded. Parses a localized string and returns the corresponding Shortcut enumeration. | |
PointToScreen | Gets the Point in screen coordinates taking resolution scaling into account. | |
RectangleToScreen | Gets the Rectangle in screen coordinates taking resolution scaling into account. | |
RefreshMessageFilter | Refreshes any message filters in use by Infragistics controls. | |
RemoveMessageFilter | Removes a message filter from the message pump of the application. | |
ReplaceSubString | Replaces a substring within the original text with some new, replacement text. | |
ScreenFromPoint | Returns the screen containing the largest portion or closest to the specified System.Drawing.Point | |
ScreenFromRectangle | Returns the screen containing the largest portion or closest to the specified System.Drawing.Rectangle | |
SortMerge | Overloaded. Sorts the passed in array list based on the passed in comparer using a modified merge-sort algorithm. | |
SortMergeGeneric | Overloaded. Sorts the passed in list based on the passed in comparer using a modified merge-sort algorithm. | |
StripDiacritics | Strips diacritics from a string. | |
StripMnemonics | Strips mnemonics from a string. | |
StrLike | Does a 'like' comparison on two strings and determines if the source string matches the specified pattern | |
VerifySelStartAndSelLength | Adjusts selStart and SelLength do that they are valid values based on the length of the text. |