IAgentryControlViewModelDecimal interface
This interface is implemented by the Agentry client.
Visual Basic syntax
Public Interface
IAgentryControlViewModelDecimal
Implements
IAgentryControlViewModelDecimalDisplay
C# syntax
public interface
IAgentryControlViewModelDecimal : IAgentryControlViewModelDecimalDisplay
Members
All members of IAgentryControlViewModelDecimal, including inherited members.
Methods
| Modifier and Type |
Method |
Description |
| public void |
ProcessInput(double)
|
Set the value of the control's backing property to the passed value. |
Inherited members from IAgentryControlViewModelNumberDisplay< T >
| Modifier and Type |
Member |
Description |
| public T |
NumberValue
|
Return the value of the control's backing property. |
Inherited members from IAgentryControlViewModel
| Modifier and Type |
Member |
Description |
| public bool |
DoesAgentryActionExist(string)
|
Ask Agentry if an action with the specified name exists. |
| public SMPActionResult |
ExecuteAgentryAction(string)
|
Ask Agentry to execute the action with the specified name. |
| public SMPActionResult |
ExecuteHyperlinkAction()
|
Direct the Agentry client to invoke the control's hyperlink action. |
| public string |
GetAgentryString(string)
|
Asks Agentry for a specific string value. |
| public bool |
IsAgentryActionEnabled(string)
|
Ask Agentry if an action with the specified name exists and is enabled. |
| public bool |
IsAutoSize
|
Some Agentry clients depend on the internal layout manager to determine the size of a control by asking the control to determine its own size. |
| public bool |
IsEnabled
|
Determine if the control should be enabled. |
| public bool |
IsHyperlinkEnabled
|
Determine if the control's hyperlink should be enabled. |
| public bool |
IsVisible
|
Determine if the control should be visible. |
| public string |
Label
|
Returns the text of this control's label. |
| public void |
OnPropertyChanged(string)
|
The consumer of this class can listen for the PropertyChanged event in order to handle changes to any of the properties. |
Inherited members from IAgentryControlViewModelStringDisplay
| Modifier and Type |
Member |
Description |
| public string |
StringValue
|
Return the value of the control's backing property. |
| public bool |
WordWrap
|
Determine if word-wrapping is enabled. |
Inherited members from IAgentryControlViewModel
| Modifier and Type |
Member |
Description |
| public bool |
DoesAgentryActionExist(string)
|
Ask Agentry if an action with the specified name exists. |
| public SMPActionResult |
ExecuteAgentryAction(string)
|
Ask Agentry to execute the action with the specified name. |
| public SMPActionResult |
ExecuteHyperlinkAction()
|
Direct the Agentry client to invoke the control's hyperlink action. |
| public string |
GetAgentryString(string)
|
Asks Agentry for a specific string value. |
| public bool |
IsAgentryActionEnabled(string)
|
Ask Agentry if an action with the specified name exists and is enabled. |
| public bool |
IsAutoSize
|
Some Agentry clients depend on the internal layout manager to determine the size of a control by asking the control to determine its own size. |
| public bool |
IsEnabled
|
Determine if the control should be enabled. |
| public bool |
IsHyperlinkEnabled
|
Determine if the control's hyperlink should be enabled. |
| public bool |
IsVisible
|
Determine if the control should be visible. |
| public string |
Label
|
Returns the text of this control's label. |
| public void |
OnPropertyChanged(string)
|
The consumer of this class can listen for the PropertyChanged event in order to handle changes to any of the properties. |
Usage
The third-party's custom control's DataContext property is set to an object that implements this interface. The control can use this to request certain information from the Agentry client's view-model.
This particular interface is only implemented by the view-model of a "Decimal" edit control.