Class Common
Class that holds the generic method to get the parent and child.
Inheritance
System.Object
Common
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Shared.Olap
Assembly: Syncfusion.OlapTools.WPF.dll
Syntax
public class Common
Constructors
Common()
Declaration
public Common()
Methods
GetChildItem<T>(DependencyObject)
Static method to find child item of the control.
Declaration
public static List<T> GetChildItem<T>(DependencyObject parent)
where T : DependencyObject
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | parent | The dependency object. |
Returns
Type | Description |
---|---|
System.Collections.Generic.List<T> | The generic type. |
Type Parameters
Name | Description |
---|---|
T | The generic class |
GetParentWindow<T>(DependencyObject)
Static method to get the parent item of the control.
Declaration
public static T GetParentWindow<T>(DependencyObject child)
where T : DependencyObject
Parameters
Type | Name | Description |
---|---|---|
System.Windows.DependencyObject | child | The dependency object. |
Returns
Type | Description |
---|---|
T | The generic type. |
Type Parameters
Name | Description |
---|---|
T | The generic class. |