Class MaskField
Inheritance
MaskField
      
  Implements
Inherited Members
Namespace: UnityEditor.Experimental.UIElements
Assembly: UnityEditor.dll
Syntax
public class MaskField : BasePopupField<int, string>, IEventHandler, ITransform, IUIElementDataWatch, IEnumerable<VisualElement>, IEnumerable, IVisualElementScheduler, IStyle, IBindable, INotifyValueChanged<int>Constructors
| Improve this Doc View SourceMaskField()
Declaration
public MaskField()MaskField(List<String>, Int32, Func<String, String>, Func<String, String>)
Declaration
public MaskField(List<string> choices, int defaultMask, Func<string, string> formatSelectedValueCallback = null, Func<string, string> formatListItemCallback = null)Parameters
| Type | Name | Description | 
|---|---|---|
| List<String> | choices | |
| Int32 | defaultMask | |
| Func<String, String> | formatSelectedValueCallback | |
| Func<String, String> | formatListItemCallback | 
Properties
| Improve this Doc View SourceformatListItemCallback
Declaration
public virtual Func<string, string> formatListItemCallback { get; set; }Property Value
| Type | Description | 
|---|---|
| Func<String, String> | 
formatSelectedValueCallback
Declaration
public virtual Func<string, string> formatSelectedValueCallback { get; set; }Property Value
| Type | Description | 
|---|---|
| Func<String, String> | 
Methods
| Improve this Doc View SourceSetValueWithoutNotify(Int32)
Declaration
public override void SetValueWithoutNotify(int newValue)Parameters
| Type | Name | Description | 
|---|---|---|
| Int32 | newValue | 
Overrides
UnityEditor.Experimental.UIElements.BasePopupField<System.Int32, System.String>.SetValueWithoutNotify(System.Int32)