MaskField
Make a field for masks.
Read time 7 minutesLast updated 10 days ago
Definition
- Type: Class
- Namespace: UnityEditor.UIElements
- Assembly: UnityEditor
- Inherits from: BaseMaskField<int>
- Implements: IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IBindable, INotifyValueChanged<int>, IMixedValueSupport
public class MaskField : BaseMaskField<int>, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, IBindable, INotifyValueChanged<int>, IMixedValueSupport
Static Fields
Value | Description |
|---|---|
| inputUssClassName | USS class name of input elements in elements of this type. |
| labelUssClassName | USS class name of labels in elements of this type. |
| ussClassName | USS class name of elements of this type. |
Constructors
Constructor | Description |
|---|---|
| MaskField() | Initializes and returns an instance of MaskField. |
| MaskField(System.Collections.Generic.List{System.String},System.Int32,System.Func{System.String,System.String},System.Func{System.String,System.String}) | Initializes and returns an instance of MaskField. |
| MaskField(System.String) | Initializes and returns an instance of MaskField. |
| MaskField(System.String,System.Collections.Generic.List{System.String},System.Int32,System.Func{System.String,System.String},System.Func{System.String,System.String}) | Initializes and returns an instance of MaskField. |
Properties
Property | Description |
|---|---|
| formatListItemCallback | Callback that provides a string representation used to populate the popup menu. |
| formatSelectedValueCallback | Callback that provides a string representation used to display the selected value. |