Свойство | Type | Description | |
---|---|---|---|
AdjustSize | void | ||
CalculateMinimumSize | |||
Cleanup | void | ||
GetSuggestedHeight | int | ||
GetTextMetrics | NativeMethods.TEXTMETRIC | ||
HandleMouseDown | void | ||
InitializeComponent | void | ||
InitializeControls | void | ||
IsValidFieldIndex | bool | ||
IsValidSeparatorIndex | bool | ||
LayoutControls | void | ||
OnFieldChanged | void | ||
OnFieldFocus | void | ||
OnFieldKeyPressed | void | ||
OnFieldSizeChanged | void | ||
OnFieldValidated | void | ||
OnFocusCeded | void | ||
OnSeparatorMouseEvent | void | ||
OnSeparatorSizeChanged | void | ||
Parse | void |
Méthode | Description | |
---|---|---|
AddCedeFocusKey ( int fieldIndex, |
Adds a KeyEventArgs to a specific field that indicates when a field should cede focus to the next field in the control. By default, each field has a single cede focus key -- the [Space] key.
|
|
AddCedeFocusKey ( |
Adds a KeyEventArgs to every field that indicates when a field should cede focus to the next field in the control. By default, each field has a single cede focus key -- the [Space] key.
|
|
Clear ( ) : void |
Clears all content from the fields in the control.
|
|
ClearCedeFocusKeys ( ) : void |
Removes every cede focus key from every field in the control.
|
|
ClearCedeFocusKeys ( int fieldIndex ) : void |
Removes every cede focus key from a specific field in the control.
|
|
GetCasing ( int fieldIndex ) : CharacterCasing |
Gets the character casing for a field in the control.
|
|
GetFieldText ( int fieldIndex ) : string |
Gets the text of a specific field in the control.
|
|
GetLeadingZeros ( int fieldIndex ) : bool |
Gets whether a field that is not blank has leading zeros.
|
|
GetMaxLength ( int fieldIndex ) : int |
Gets the maximum number of characters allowed in a specific field.
|
|
GetRangeHigh ( int fieldIndex ) : int |
Gets the high inclusive boundary of allowed values for a specific field. The default value varies based on ValueFormat and MaxLength, but it is always the maximum value that can be represented by the field.
|
|
GetRangeLow ( int fieldIndex ) : int |
Gets the low inclusive boundary of allowed values for a specific field. Default value is 0.
|
|
GetSeparatorText ( int separatorIndex ) : string |
Gets the text for a specific separator in the control.
|
|
GetValue ( int fieldIndex ) : int |
Gets the value of a specific field. If the field is blank, its value is the same as its low range value.
|
|
GetValueFormat ( int fieldIndex ) : ValueFormat |
Gets the value format for a specific field in the control.
|
|
HasFocus ( int fieldIndex ) : bool |
Determines if a specific field has input focus. True indicates that the field has focus.
|
|
IsBlank ( int fieldIndex ) : bool |
Determines if every field in the control is blank. True indicates that every field in the control is blank.
|
|
ResetCedeFocusKeys ( ) : void |
Removes every cede focus key from every field, and adds the default cede focus key -- the [Space] key -- to every field.
|
|
ResetCedeFocusKeys ( int fieldIndex ) : void |
Removes every cede focus key from a specific field, and adds the default cede focus key -- the [Space] key -- to the field.
|
|
SetCasing ( CharacterCasing casing ) : void |
Sets the character casing for every field in the control.
|
|
SetCasing ( int fieldIndex, CharacterCasing casing ) : void |
Sets the character casing for a specific field in the control.
|
|
SetFieldText ( int fieldIndex, string text ) : void |
Sets text for a specific field in the control.
|
|
SetFieldText ( string text ) : void |
Sets text for every field in the control.
|
|
SetFocus ( int fieldIndex ) : void |
Sets input focus to a field in the control.
|
|
SetLeadingZeros ( bool leadingZeros ) : void |
Toggles whether the value for every field is displayed with leading zeros.
|
|
SetLeadingZeros ( int fieldIndex, bool leadingZeros ) : void |
Toggles whether the value for a specific field is displayed with leading zeros.
|
|
SetMaxLength ( int maxLength ) : void |
Sets the maximum length for every field in the control.
|
|
SetMaxLength ( int fieldIndex, int maxLength ) : void |
Sets the maximum length for a specific field in the control. Default value is 3.
|
|
SetRange ( int low, int high ) : void |
Sets the low and high range for every field.
|
|
SetRange ( int fieldIndex, int low, int high ) : void |
Sets the low and high range for a specific field.
|
|
SetSeparatorText ( int separatorIndex, string text ) : void |
Sets the text for a specific separator.
|
|
SetSeparatorText ( string text ) : void |
Sets the text for every separator.
|
|
SetValue ( int value ) : void |
Sets the value for every field.
|
|
SetValue ( int fieldIndex, int value ) : void |
Sets the value for a specific field.
|
|
SetValueFormat ( ValueFormat format ) : void |
Sets the value format for every field.
|
|
SetValueFormat ( int fieldIndex, ValueFormat format ) : void |
Sets the value format for a specific field.
|
|
ToString ( ) : string |
Converts the text of every separator and every field to a single string.
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
|
FlexFieldControl ( ) : System |
The constructor.
|
|
OnBackColorChanged ( |
Raises the BackColorChanged event.
|
|
OnFontChanged ( |
Adjusts the size of the control when font is changed.
|
|
OnGotFocus ( |
Raises the GotFocus event.
|
|
OnLostFocus ( |
Raises the LostFocus event.
|
|
OnMouseDown ( MouseEventArgs e ) : void |
Raises the MouseDown event.
|
|
OnMouseEnter ( |
Sets the cursor to I-beam when mouse is over control.
|
|
OnPaint ( PaintEventArgs e ) : void |
Clears the background and fills it with background color. If control has a border, draws it.
|
|
OnSizeChanged ( |
Ensures that any size change of control is constrained by allowed range.
|
Méthode | Description | |
---|---|---|
AdjustSize ( ) : void | ||
CalculateMinimumSize ( ) : |
||
Cleanup ( ) : void | ||
GetSuggestedHeight ( ) : int | ||
GetTextMetrics ( |
||
HandleMouseDown ( Point location ) : void | ||
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
InitializeControls ( ) : void | ||
IsValidFieldIndex ( int fieldIndex ) : bool | ||
IsValidSeparatorIndex ( int separatorIndex ) : bool | ||
LayoutControls ( ) : void | ||
OnFieldChanged ( object sender, FlexFieldControlLib.FieldChangedEventArgs e ) : void | ||
OnFieldFocus ( object sender, |
||
OnFieldKeyPressed ( object sender, |
||
OnFieldSizeChanged ( object sender, |
||
OnFieldValidated ( object sender, |
||
OnFocusCeded ( object sender, |
||
OnSeparatorMouseEvent ( object sender, |
||
OnSeparatorSizeChanged ( object sender, |
||
Parse ( string text ) : void |
public AddCedeFocusKey ( int fieldIndex, |
||
fieldIndex | int | |
e | ||
Résultat | bool |
public AddCedeFocusKey ( |
||
e | ||
Résultat | void |
public ClearCedeFocusKeys ( int fieldIndex ) : void | ||
fieldIndex | int | |
Résultat | void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
Résultat | void |
public GetCasing ( int fieldIndex ) : CharacterCasing | ||
fieldIndex | int | |
Résultat | CharacterCasing |
public GetFieldText ( int fieldIndex ) : string | ||
fieldIndex | int | |
Résultat | string |
public GetLeadingZeros ( int fieldIndex ) : bool | ||
fieldIndex | int | |
Résultat | bool |
public GetMaxLength ( int fieldIndex ) : int | ||
fieldIndex | int | |
Résultat | int |
public GetRangeHigh ( int fieldIndex ) : int | ||
fieldIndex | int | |
Résultat | int |
public GetRangeLow ( int fieldIndex ) : int | ||
fieldIndex | int | |
Résultat | int |
public GetSeparatorText ( int separatorIndex ) : string | ||
separatorIndex | int | |
Résultat | string |
public GetValueFormat ( int fieldIndex ) : ValueFormat | ||
fieldIndex | int | |
Résultat | ValueFormat |
protected OnBackColorChanged ( |
||
e | ||
Résultat | void |
protected OnFontChanged ( |
||
e | ||
Résultat | void |
protected OnGotFocus ( |
||
e | ||
Résultat | void |
protected OnLostFocus ( |
||
e | ||
Résultat | void |
protected OnMouseDown ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
Résultat | void |
protected OnMouseEnter ( |
||
e | ||
Résultat | void |
protected OnPaint ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | |
Résultat | void |
protected OnSizeChanged ( |
||
e | ||
Résultat | void |
public ResetCedeFocusKeys ( int fieldIndex ) : void | ||
fieldIndex | int | |
Résultat | void |
public SetCasing ( CharacterCasing casing ) : void | ||
casing | CharacterCasing | |
Résultat | void |
public SetCasing ( int fieldIndex, CharacterCasing casing ) : void | ||
fieldIndex | int | |
casing | CharacterCasing | |
Résultat | void |
public SetFieldText ( int fieldIndex, string text ) : void | ||
fieldIndex | int | |
text | string | |
Résultat | void |
public SetLeadingZeros ( bool leadingZeros ) : void | ||
leadingZeros | bool | true indicates that the value
/// is displayed with leading zeros. |
Résultat | void |
public SetLeadingZeros ( int fieldIndex, bool leadingZeros ) : void | ||
fieldIndex | int | Zero-based index for field. |
leadingZeros | bool | |
Résultat | void |
public SetMaxLength ( int maxLength ) : void | ||
maxLength | int | |
Résultat | void |
public SetMaxLength ( int fieldIndex, int maxLength ) : void | ||
fieldIndex | int | |
maxLength | int | |
Résultat | void |
public SetRange ( int low, int high ) : void | ||
low | int | |
high | int | |
Résultat | void |
public SetRange ( int fieldIndex, int low, int high ) : void | ||
fieldIndex | int | |
low | int | |
high | int | |
Résultat | void |
public SetSeparatorText ( int separatorIndex, string text ) : void | ||
separatorIndex | int | |
text | string | |
Résultat | void |
public SetSeparatorText ( string text ) : void | ||
text | string | |
Résultat | void |
public SetValue ( int fieldIndex, int value ) : void | ||
fieldIndex | int | |
value | int | |
Résultat | void |
public SetValueFormat ( ValueFormat format ) : void | ||
format | ValueFormat | |
Résultat | void |
public SetValueFormat ( int fieldIndex, ValueFormat format ) : void | ||
fieldIndex | int | |
format | ValueFormat | |
Résultat | void |