本文整理汇总了C#中Windows.UI.Xaml.UIElement.GetVisual方法的典型用法代码示例。如果您正苦于以下问题:C# UIElement.GetVisual方法的具体用法?C# UIElement.GetVisual怎么用?C# UIElement.GetVisual使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Windows.UI.Xaml.UIElement
的用法示例。
在下文中一共展示了UIElement.GetVisual方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: GetIsVisible
public static bool GetIsVisible(UIElement element)
{
return element.GetVisual().IsVisible;
}
示例2: BeginVector3Animation
public static void BeginVector3Animation(UIElement element, string propertyPath, Vector3 to, Vector3? from, TimeSpan duration, TimeSpan? delay, CompositionEasingFunction ease)
{
element.GetVisual().BeginVector3Animation(propertyPath, to, from, duration, delay, ease);
}
示例3: GetBorderMode
public static CompositionBorderMode GetBorderMode(UIElement element)
{
return element.GetVisual().BorderMode;
}
示例4: GetCompositeMode
public static CompositionCompositeMode GetCompositeMode(UIElement element)
{
return element.GetVisual().CompositeMode;
}
示例5: GetBackfaceVisibility
public static CompositionBackfaceVisibility GetBackfaceVisibility(UIElement element)
{
return element.GetVisual().BackfaceVisibility;
}
示例6: SetIsVisible
public static void SetIsVisible(UIElement element, bool value)
{
element.GetVisual().IsVisible = value;
}
示例7: SetCompositeMode
public static void SetCompositeMode(UIElement element, CompositionCompositeMode value)
{
element.GetVisual().CompositeMode = value;
}
示例8: SetBorderMode
public static void SetBorderMode(UIElement element, CompositionBorderMode value)
{
element.GetVisual().BorderMode = value;
}
示例9: SetBackfaceVisibility
public static void SetBackfaceVisibility(UIElement element, CompositionBackfaceVisibility value)
{
element.GetVisual().BackfaceVisibility = value;
}