Table of Contents

Class SimpleTwoFieldInputDialog

Namespace
Alternet.Maui
Assembly
Alternet.UI.Maui.dll

Represents a dialog that allows the user to input values for two fields.

public class SimpleTwoFieldInputDialog : SimpleInputDialog, INotifyPropertyChanged, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, ILayout, ILayoutController, IVisualTreeElement, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout, IRaiseSystemColorsChanged
Inheritance
SimpleTwoFieldInputDialog
Implements
Derived

Remarks

This class is a specialized version of SimpleInputDialog designed for scenarios where two input fields are required. It provides functionality for capturing and validating user input for both fields.

Constructors

SimpleTwoFieldInputDialog()

Initializes a new instance of the SimpleTwoFieldInputDialog class.

Properties

SecondEntry

Gets the second input field of the dialog.

SecondEntryBorder

Gets the border of the second input field.

SecondLabel

Gets the second label displaying the message in the dialog.

SecondMessage

Gets or sets the text for the second label.

SecondPlaceholder

Gets or sets the placeholder text for the second input field.

SecondText

Gets or sets the text entered in the second input field.

Methods

CreateOtherContent()

Creates additional content for the dialog.

GetDefaultSecondMessage()

Gets the default message for the second input field.

GetDefaultSecondPlaceholder()

Gets the default placeholder text for the second input field.

ResetColors()

Resets the colors of the dialog based on the current theme (light or dark).