Class TextInputLayoutSettings
Represents the class to settings for LayoutOptions is TextInputLayout.
Inheritance
Namespace: Syncfusion.XForms.DataForm
Assembly: Syncfusion.SfDataForm.XForms.dll
Syntax
public class TextInputLayoutSettings : BindableObject
Constructors
TextInputLayoutSettings()
Initializes a new instance of the TextInputLayoutSettings class.
Declaration
public TextInputLayoutSettings()
Properties
ContainerBackgroundColor
Gets or sets the container background color for the textinputlayout in TextInputLayoutSettings.
Declaration
public Color ContainerBackgroundColor { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Color |
ContainerType
Gets or sets the container type for the dataFormItem with textInputLayout in TextInputLayoutSettings.
Declaration
public ContainerType ContainerType { get; set; }
Property Value
Type |
---|
ContainerType |
LeadingView
Gets or sets the leading view property for TextInputLayoutSettings to set a view as leading view.
Declaration
public View LeadingView { get; set; }
Property Value
Type |
---|
Xamarin.Forms.View |
LeadingViewPosition
Gets or sets position for leading view inside the container of textinputlayout.
Declaration
public ViewPosition LeadingViewPosition { get; set; }
Property Value
Type |
---|
ViewPosition |
OutlineCornerRadius
Gets or sets the outline corner radius property to customize the corner radius of the container in textinputlayout.
Declaration
public float OutlineCornerRadius { get; set; }
Property Value
Type |
---|
System.Single |
Remarks
Applicable only for the dataformitem with Outlined.
ReserveSpaceForAssistiveLabels
Gets or sets a value indicating whether to reserve space for assistive labels or not in dataform item.
Declaration
public bool ReserveSpaceForAssistiveLabels { get; set; }
Property Value
Type |
---|
System.Boolean |
Remarks
When this property is set as false, space will be allocated based on the values of helper text, error text and character count labels.
ShowHelperText
Gets or sets a value indicating whether dataform item to show the helper text label in textinputlayout.
Declaration
public bool ShowHelperText { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
TrailingView
Gets or sets the trailing view property for TextInputLayoutSettings to set a view as trailing view.
Declaration
public View TrailingView { get; set; }
Property Value
Type |
---|
Xamarin.Forms.View |
TrailingViewPosition
Gets or sets position for trailing view inside the container of textinputlayout.
Declaration
public ViewPosition TrailingViewPosition { get; set; }
Property Value
Type |
---|
ViewPosition |