| MessageAttribute Constructor |
Constructor to specify message and its parameters
Namespace:
CodeStack.SwEx.PMPage.Attributes
Assembly:
CodeStack.SwEx.PMPage (in CodeStack.SwEx.PMPage.dll) Version: 0.7.2.0 (0.7.2.0)
Syntax public MessageAttribute(
string text,
string caption,
swPropertyManagerPageMessageVisibility visibility = swPropertyManagerPageMessageVisibility.swMessageBoxVisible,
swPropertyManagerPageMessageExpanded expanded = swPropertyManagerPageMessageExpanded.swMessageBoxExpand
)
Public Sub New (
text As String,
caption As String,
Optional visibility As swPropertyManagerPageMessageVisibility = swPropertyManagerPageMessageVisibility.swMessageBoxVisible,
Optional expanded As swPropertyManagerPageMessageExpanded = swPropertyManagerPageMessageExpanded.swMessageBoxExpand
)
public:
MessageAttribute(
String^ text,
String^ caption,
swPropertyManagerPageMessageVisibility visibility = swPropertyManagerPageMessageVisibility::swMessageBoxVisible,
swPropertyManagerPageMessageExpanded expanded = swPropertyManagerPageMessageExpanded::swMessageBoxExpand
)
Parameters
- text
- Type: SystemString
Text to be displayed in the message - caption
- Type: SystemString
Message box caption - visibility (Optional)
- Type: swPropertyManagerPageMessageVisibility
Visibility option as defined in swPropertyManagerPageMessageVisibility Enumeration - expanded (Optional)
- Type: swPropertyManagerPageMessageExpanded
Expansion state as defined in swPropertyManagerPageMessageExpanded Enumeration
See Also