Class DateRangeField
DateRange Field UI element.
Inheritance
Implements
Inherited Members
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
Syntax
public class DateRangeField : ExVisualElement, IEventHandler, IVisualElementScheduler, IExperimentalFeatures, ITransitionAnimations, ITransform, IResolvedStyle, IContextOverrideElement, IAdditionalDataHolder, IInputElement<DateRange>, IValidatableElement<DateRange>, INotifyValueChanging<DateRange>, INotifyValueChanged<DateRange>, ISizeableElement
Constructors
DateRangeField()
Default constructor.
Declaration
public DateRangeField()
Fields
inputContainerUssClassName
The DateField input container styling class.
Declaration
public static readonly string inputContainerUssClassName
Field Value
Type | Description |
---|---|
string |
inputUssClassName
The DateField input styling class.
Declaration
public static readonly string inputUssClassName
Field Value
Type | Description |
---|---|
string |
pickerButtonUssClassName
The DateField picker button styling class.
Declaration
public static readonly string pickerButtonUssClassName
Field Value
Type | Description |
---|---|
string |
separatorUssClassName
The DateField separator styling class.
Declaration
public static readonly string separatorUssClassName
Field Value
Type | Description |
---|---|
string |
sizeUssClassName
The DateField size styling class.
Declaration
public static readonly string sizeUssClassName
Field Value
Type | Description |
---|---|
string |
ussClassName
The DateField main styling class.
Declaration
public static readonly string ussClassName
Field Value
Type | Description |
---|---|
string |
Properties
contentContainer
The content container of this DateField. This is null for DateField.
Declaration
public override VisualElement contentContainer { get; }
Property Value
Type | Description |
---|---|
Visual |
Overrides
formatString
The DateField string formatting.
Declaration
public string formatString { get; set; }
Property Value
Type | Description |
---|---|
string |
invalid
The DateField invalid state.
Declaration
public bool invalid { get; set; }
Property Value
Type | Description |
---|---|
bool |
size
The DateField size.
Declaration
public Size size { get; set; }
Property Value
Type | Description |
---|---|
Size |
validateValue
The DateField validation function.
Declaration
public Func<DateRange, bool> validateValue { get; set; }
Property Value
value
The DateField value.
Declaration
public DateRange value { get; set; }
Property Value
Type | Description |
---|---|
Date |
Methods
SetValueWithoutNotify(DateRange)
Sets the DateField value without notifying the DateField.
Declaration
public void SetValueWithoutNotify(DateRange newValue)
Parameters
Type | Name | Description |
---|---|---|
Date |
newValue | The new DateField value. |