RibbonButtonConfiguration Class |
Namespace: Colygon.MatchPoint.Core.WebParts
[SerializableAttribute] public class RibbonButtonConfiguration
The RibbonButtonConfiguration type exposes the following members.
Name | Description | |
---|---|---|
RibbonButtonConfiguration | Initializes a new instance of the RibbonButtonConfiguration class |
Name | Description | |
---|---|---|
EnabledScript | A JavaScript snippet that specifies whether this button is enabled or not. | |
OnClickExpression | Specifies an expression that is evaluated when the button is clicked. You can use the ConnectionData expression variable to access the currently selected element from the parent Web Part. |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GenerateClientScript | ||
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
PerformClick | ||
ToString | (Overrides ObjectToString.) |
Name | Description | |
---|---|---|
Actions | Contains actions that are executed when the user clicks the button. A post-back will be executed if buttons are configured regardless of the setting 'DoPostBack'. The evaluation result of 'OnClickExpression' will be associated with the workflow. This can be a string representing an URL to a Workspace or SP list item or an object that can be casted to IUpdatable. | |
ClickEventHandler | ||
DoPostBack | Specifies whether a postback is executed when the button is clicked. If there are 'Actions' defined, this setting will be ignored and a post-back will be executed. | |
EnabledExpression | Specifies whether this button is visible/enabled or not. An expression can be used to determine the visibility dynamically. This expression is expected to return a Boolean value. | |
IconOffsetLeft | A negative integer that represents an offset for the left edge of the image. Use this attribute when the 'IconUrl' attribute points to an image file that contains the images for many icons. The value is used to set the CSS top attribute for the inline style of an HTML img tag. | |
IconOffsetTop | A negative integer that represents an offset for the top edge of the image. Use this attribute when the 'IconUrl' attribute points to an image file that contains the images for many icons. The value is used to set the CSS top attribute for the inline style of an HTML img tag. | |
IconUrl | Specifies the standard icon for the ribbon button. | |
Label | Specifies the title for the ribbon button. | |
LargeIconOffsetLeft | A negative integer that represents an offset for the left edge of the image. Use this attribute when the 'LargeIconUrl' attribute points to an image file that contains the images for many icons. The value is used to set the CSS top attribute for the inline style of an HTML img tag. | |
LargeIconOffsetTop | A negative integer that represents an offset for the top edge of the image. Use this attribute when the 'LargeIconUrl' attribute points to an image file that contains the images for many icons. The value is used to set the CSS top attribute for the inline style of an HTML img tag. | |
LargeIconUrl | Specifies the large icon for the ribbon button. | |
OnClickScript | Specifies a javascript call that is executed if the button is clicked. You can use the ConnectionData expression variable to access the currently selected element from the parent Web Part. You can use the JavaScript variable 'resultValue' to access the evaluation result of the 'OnClickExpression', if 'DoPostBack' is disabled. Return 'true' in order to refresh the parent control. | |
OpenInDialog | Specifies whether to open the provided URI within a dialog. | |
TemplateAlias | ||
Url | Specifies the URL that should be opened if the button is clicked. You can use the ConnectionData expression variable to access the currently selected element from the parent Web Part. |