The following tables list the members exposed by Utilities.
Name | Description | |
---|---|---|
Utilities Constructor | For internal use |
Name | Description | |
---|---|---|
SnapElementToDevicePixelsProperty | SnapElementToDevicePixels Attached Dependency Property |
Name | Description | |
---|---|---|
ScaleCursorWithDpi | Returns or sets a boolean indicating if cursors loaded using LoadCursor(Type,String) will be scaled with the dpi. | |
SystemDoubleClickSize | Returns the maximum distance the cursor is allowed to travel between mouse button downs to generate a double click message. | |
SystemDoubleClickTime | Returns the maximum number of milliseconds allowed between mouse button downs to generate a double click message. | |
SystemDragSize | Returns the maximum distance the cursor is allowed to traval while the mouse button is down before initiating a drag operation. |
Name | Description | |
---|---|---|
AllowsAsyncOperations | Returns a boolean indicating if the object may perform asynchronous operations. | |
AnimateTranslateTransform | Animates a translate transform | |
CalculateTotalMarginAndPadding | Calculates the total padding and margin values beetween a descendant element and its ancestor | |
CanExecuteCommand | Returns true if the command of the specified System.Windows.Input.ICommandSource can be executed. | |
ConvertFromLogicalPixels | Overloaded. Converts the logical pixel representation into screen pixels. | |
ConvertToLogicalPixels | Overloaded. Converts the specified pixel value into the logical pixel representation. | |
CopyPropertyValues | Overloaded. Copies all of the property settings from one object to another | |
Create2by2Grid | Create grid with 2 columns and 2 rows | |
CreateBindingObject | Overloaded. Create a Binding object | |
CreateBindingObjectLikeAlias | Create a Binding object | |
CreateResourceSetDictionary | Helper method for creating a resource dictionary containing the specified sources. | |
CreateRoundedRectGeometry | Overloaded. Helper routine to create a geometry that describes a rounded rectangle. | |
DoubleIsZero | Returns true if the specified double value is zero or close to zero. | |
EnableModelessKeyboardInterop | This method should be called if your application is a WindowsForms application that will display an Infragistics WPF control inside an ElementHost control. | |
ExecuteCommand | Invokes the command of the specified System.Windows.Input.ICommandSource. | |
GetAncestorFromName | Get an ancestor parent based on its type. | |
GetAncestorFromType | Overloaded. Get an ancestor parent based on its type. | |
GetAncestorPropertyValue | Returns the value of a property that has a non-null setting | |
GetDefaultValue | Gets the default value for the specified property for the specified object. | |
GetDescendantFromName | Gets a descendant FrameworkElement based on its name. | |
GetDescendantFromType | Overloaded. Get a descendant parent based on its type. | |
GetFirstMnemonicChar | Overloaded. Returns the first mnemonic character found in a string. | |
GetItemsHostFromItem | Returns the items host that contains the item inside an ItemsControl | |
GetLanguageCultureInfo | Gets the CultureInfo associated with the Language of the specified element. | |
GetLineCount | Returns the number of lines in the specified string. | |
GetNonNeutralCulture | Overloaded. Returns a specific, i.e. non-neutral, culture that can be used to format strings. | |
GetParent | Overloaded. Returns the parent of a child element. | |
GetPropertyValueFromStyle | Returns a property value from a style | |
GetPublicKeyToken | Overloaded. Returns the public key token of a type's assembly. | |
GetSnapElementToDevicePixels | Gets the SnapElementToDevicePixels property. This dependency property indicates how the element should be adjusted so that it renders along a device pixel boundary. | |
GetTemplateChild | Overloaded. Searches an element for an templated child of the specified type. | |
GetWorkArea | Overloaded. Returns the work area of the monitor relative to the top/left of the passed in element | |
HasLoadedAncestor | Overloaded. Determines if any ancestor element is loaded. | |
HasSamePublicKey | Checks if the test object is from an assembly that is signed with the same public key as this assembly | |
IsDescendantOf | Overloaded. Indicates if the specified ancestor is the visual parent of descendant even if the descendant is within a popup. | |
IsNumericType | Determines if a given System.Type is a numeric type. | |
LoadCursor | Loads a cursor from the specified resource | |
PointFromScreenSafe | Overloaded. Translates a point in screen coordinates into coordinates relative to an element | |
PointToScreenSafe | Overloaded. Translates a point relative to an element into screen coordinates | |
RectFromPoints | Helper method for returning a normalized System.Windows.Rect based on two points. | |
RefreshLocalizedResources | Used to reset cached resources that are based upon the current culture. | |
RemoveAll | Removes all occurrences of itemToRemove from list. | |
SetPropertyFromStyle | Extracts a property value from a Style and sets it on a DependencyObject | |
SetSnapElementToDevicePixels | Sets the SnapElementToDevicePixels property. This dependency property indicates how the element should be adjusted so that it renders along a device pixel boundary. | |
ShouldSerialize | A helper method for figuring out whether a property needs to be serialized. | |
ShowMessageBox | Helper method to display a messagebox using the Window of the specified element if available. | |
SortMerge | Sorts the passed in array list based on the passed in comparer using a modified merge-sort algorithm. | |
StringFromNonDefaultProperties | Creates and returns a string with any non-default System.Windows.DependencyProperty values. | |
StripMnemonics | Strips mnemonics from a string. | |
TransformPointToAncestorCoordinates | Transforms a point to its ancestor's coordinates | |
TransformPointToDescendantCoordinates | Transforms a point to its descendant's coordinates | |
ValidateTargetTypeOfStyle | Verifies that the TargetType of the style is either null or is set to the targetType, an ancestor type or a descendant type. |