[]
        
(Showing Draft Content)

C1.WinUI.Core.ViewEx.SetStyle

SetStyle Method

SetStyle(FrameworkElement, Style)

Sets Microsoft.UI.Xaml.Style to the specified Microsoft.UI.Xaml.FrameworkElement

Declaration
public static void SetStyle(this FrameworkElement view, Style style)
Public Shared Sub SetStyle(view As FrameworkElement, style As Style)
Parameters
Type Name Description
FrameworkElement view

Affected Microsoft.UI.Xaml.FrameworkElement.

Style style

Microsoft.UI.Xaml.Style to set.