FrameworkElementExtensions.SetAncestorType(DependencyObject, Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the Type to look for from this element and place in the AncestorProperty.
public static void SetAncestorType (Windows.UI.Xaml.DependencyObject obj, Type value);
static member SetAncestorType : Windows.UI.Xaml.DependencyObject * Type -> unit
Public Sub SetAncestorType (obj As DependencyObject, value As Type)
Parameters
- obj
- Windows.UI.Xaml.DependencyObject
- value
- Type