Class GridUtil
Inheritance
System.Object
GridUtil
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public static class GridUtil : Object
Methods
Descendant(DependencyObject, ref List<DependencyObject>)
Declaration
public static void Descendant(DependencyObject root, ref List<DependencyObject> list)
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
root |
|
System.Collections.Generic.List<System.Windows.DependencyObject> |
list |
|
FindDescendant(Object, Type)
Declaration
public static DependencyObject FindDescendant(object source, Type typeDescendant)
Parameters
Type |
Name |
Description |
System.Object |
source |
|
System.Type |
typeDescendant |
|
Returns
Type |
System.Windows.DependencyObject |
FindDescendantChildByName(FrameworkElement, String)
Declaration
public static FrameworkElement FindDescendantChildByName(FrameworkElement element, string name)
Parameters
Type |
Name |
Description |
System.Windows.FrameworkElement |
element |
|
System.String |
name |
|
Returns
Type |
System.Windows.FrameworkElement |
FindDescendantChildByType(FrameworkElement, Type)
Declaration
public static FrameworkElement FindDescendantChildByType(FrameworkElement element, Type type)
Parameters
Type |
Name |
Description |
System.Windows.FrameworkElement |
element |
|
System.Type |
type |
|
Returns
Type |
System.Windows.FrameworkElement |
FromLTRB(Double, Double, Double, Double)
Declaration
public static Rect FromLTRB(double left, double top, double right, double bottom)
Parameters
Type |
Name |
Description |
System.Double |
left |
|
System.Double |
top |
|
System.Double |
right |
|
System.Double |
bottom |
|
Returns
GetChildObject<T>(DependencyObject, String)
Generic method to get the child object
Declaration
public static T GetChildObject<T>(DependencyObject obj, string name)
where T : DependencyObject
Parameters
Type |
Name |
Description |
System.Windows.DependencyObject |
obj |
|
System.String |
name |
|
Returns
Type Parameters
GetDataRelation(PropertyDescriptor)
Returns the PropertyDescriptorCollection for the relation or nested collection.
Declaration
public static DataRelation GetDataRelation(PropertyDescriptor pd)
Parameters
Type |
Name |
Description |
System.ComponentModel.PropertyDescriptor |
pd |
|
Returns
Type |
System.Data.DataRelation |
GetNavigatableDescendants(UIElement, ref List<Control>)
Generic method to get the navigatable child Controls
Declaration
public static void GetNavigatableDescendants(UIElement uiElement, ref List<Control> list)
Parameters
Type |
Name |
Description |
System.Windows.UIElement |
uiElement |
|
System.Collections.Generic.List<System.Windows.Controls.Control> |
list |
|
IsComplexType(Type)
Indicates whether the specified Type has nested properties.
Declaration
public static bool IsComplexType(Type t)
Parameters
Type |
Name |
Description |
System.Type |
t |
The Type to be checked.
|
Returns
Type |
Description |
System.Boolean |
True if nested properties are found; False otherwise.
|