Interface IButtonHandler
Contains methods and properties which allow to control button control.
public interface IButtonHandler
Properties
- DisabledImage
Sets image for the 'Disabled' state.
- ExactFit
Gets or sets whether buttons are made of at least the standard button size, even if their contents is small enough to fit into a smaller size.
- FocusedImage
Sets image for the 'Focused' state.
- HoveredImage
Sets image for the 'Hovered' state.
- NormalImage
Sets image for the 'Normal' state.
- PressedImage
Sets image for the 'Pressed' state.
- TextAlign
Sets the position at which the text is displayed.
- TextVisible
Gets or sets visibility of the text in the bitmap.
Methods
- SetImageMargins(double, double)
Sets the margins between the image and the text of the button. Value is in device-independent units.
- SetImagePosition(GenericDirection)
Sets the position at which the image is displayed.