XSalFlatButton
Namespace: PPJ.Runtime.XSal
Assembly: PPJ.Web.XSal.50 (5.0.0.0)
Provides an XSal tool button with configurable image placement.
- C#
- VB.NET
public class XSalFlatButton : SalPushbutton
Public Class XSalFlatButton
Inherits SalPushbutton
Example:
XSalFlatButton button = new XSalFlatButton();
button.Text = "Open";
button.Style = XSal.ToolbuttonStyles.LeftImage;
Constructors
XSalFlatButton()
Initializes the tool button and disables the Selectable control style.
Properties
Style
ToolbuttonStyles: Gets or sets XSal tool-button flags, applying left, right, or centered image placement.
Flat and ThinBorder do not change border rendering in this implementation.
Methods
FromHandle(handle)
Resolves a control handle and casts it to XSalFlatButton.
| Parameter | Type | Description |
|---|---|---|
| handle | SalWindowHandle | The button’s window handle. |
Returns: XSalFlatButton. The button, or null when the handle resolves to no control.
Implements
| Name | Description |
|---|---|
| ISalControl | |
| ISalPictureControl | |
| ISalWindow |