Class DatePicker
A date picker control.
Inheritance
DatePicker
Implements
INotifyValueChanged<Date>
Inherited Members
VisualElement.ExecuteDefaultAction(EventBase)
VisualElement.Focus()
VisualElement.Overlaps(Rect)
VisualElement.ToString()
VisualElement.GetFirstOfType<T>()
VisualElement.GetFirstAncestorOfType<T>()
VisualElement.canGrabFocus
VisualElement.focusController
VisualElement.cacheAsBitmap
CallbackEventHandler.RegisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.RegisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TUserArgsType, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType>(EventCallback<TEventType>, TrickleDown)
CallbackEventHandler.UnregisterCallback<TEventType, TUserArgsType>(EventCallback<TEventType, TUserArgsType>, TrickleDown)
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
Syntax
public class DatePicker : BaseDatePicker, IEventHandler, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IResolvedStyle, IContextOverrideElement, IAdditionalDataHolder, INotifyValueChanged<Date>
Constructors
DatePicker()
Default constructor.
Declaration
public DatePicker()
Properties
value
The current value of the date picker.
Declaration
public Date value { get; set; }
Property Value
Type | Description |
---|---|
Date |
Methods
SetValueWithoutNotify(Date)
Set the value of the date picker without sending a change event.
Declaration
public void SetValueWithoutNotify(Date newValue)
Parameters
Type | Name | Description |
---|---|---|
Date | newValue | The new value. |
Implements
UnityEngine.UIElements.INotifyValueChanged<T>