Class PostValueModeAttribute
- Namespace
- OFT.Attributes.Editors
- Assembly
- OFT.Attributes.dll
Sets when the value typed into the editor of a setting is applied, and how the text is selected on entry.
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public class PostValueModeAttribute : Attribute
- Inheritance
-
objectAttributePostValueModeAttribute
- Extension Methods
Constructors
PostValueModeAttribute()
Initializes the attribute with OnChanged.
public PostValueModeAttribute()
PostValueModeAttribute(PostValueModes)
Initializes the attribute with the given mode.
public PostValueModeAttribute(PostValueModes mode)
Parameters
modePostValueModesWhen the value is applied.
Properties
DelayMilliseconds
Gets or sets the pause after the last keystroke, in milliseconds, before the value is applied in Delayed mode.
public int DelayMilliseconds { get; set; }
Property Value
- int
Mode
Gets when the value is applied.
public PostValueModes Mode { get; }
Property Value
SelectAllOnMode
Gets or sets when the whole text of the editor is selected; on mouse up by default.
public SelectAllOnModes SelectAllOnMode { get; set; }