SetContentType Method
Sets the value of the attached ContentTypeProperty on a control.
Definition
Namespace: Avalonia.Input.TextInput
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static void SetContentType(
StyledElement avaloniaObject,
TextInputContentType value
)
Public Shared Sub SetContentType (
avaloniaObject As StyledElement,
value As TextInputContentType
)
static member SetContentType :
avaloniaObject : StyledElement *
value : TextInputContentType -> unit
Parameters
- StyledElement
- The control.
- TextInputContentType
- The property value to set.