_OlkCommandButton.Picture Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets an StdPicture that represents the picture that is displayed on the control. Read/write.
public:
property stdole::StdPicture ^ Picture { stdole::StdPicture ^ get(); void set(stdole::StdPicture ^ value); };
public stdole.StdPicture Picture { get; set; }
Public Property Picture As StdPicture
Property Value
Remarks
The default value is Nothing (a null reference (Nothing in Visual Basic) in C#).
A picture and text cannot be displayed at the same time on the control, so when the picture property is set, the text property is ignored.
The picture is always displayed in the center of the button control. The picture will be clipped as necessary to fit in the available space.