ApplyStyling Method
Applies styling to the control if the control is initialized and styling is not already applied.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public bool ApplyStyling()
Public Function ApplyStyling As Boolean
member ApplyStyling : unit -> bool
Return Value
Boolean
A value indicating whether styling is now applied to the control.
Remarks
The styling system will automatically apply styling when required, so it should not usually be necessary to call this method manually.