Click or drag to resize
RibbonButton Fields

The RibbonButton type exposes the following members.

Fields
  NameDescription
Public fieldEnabledExpression
Specifies an expression that determines whether the button control is displayed as enabled. The expression is expected to return a Boolean value.
Public fieldEnabledScript
Specifies a JavaScript method that determines whether the button control is displayed as enabled. The script is expected to return a Boolean value.
Public fieldIconOffsetLeft
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.
Public fieldIconOffsetTop
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.
Public fieldIconUrl
Specifies the URL of an image displayed on the button if it is displayed small. This image should be 16x16 pixels.
Public fieldLabel
Specifies the button label.
Public fieldLargeIconOffsetLeft
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.
Public fieldLargeIconOffsetTop
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.
Public fieldLargeIconUrl
Specifies the URL of an image displayed on the button if it is displayed large. This image should be 32x32 pixels.
Public fieldOnClientClick
Specifies the client sided on click behavior.
Public fieldSequence
An integer that specifies the order of placement among sibling XML nodes
(Inherited from RibbonElement.)
Public fieldTemplateAlias
Public fieldVisible
Specifies whether the element is visible.
(Inherited from RibbonElement.)
Top
See Also