Skip to main content
Version: 2025

XSalFlatButton

Namespace: PPJ.Runtime.XSal

Assembly: PPJ.Web.XSal.50 (5.0.0.0)

Provides an XSal tool button with configurable image placement.

public class XSalFlatButton : SalPushbutton

Example:

XSalFlatButton button = new XSalFlatButton();
button.Text = "Open";
button.Style = XSal.ToolbuttonStyles.LeftImage;

Constructors

Instance member XSalFlatButton()

Initializes the tool button and disables the Selectable control style.

Properties

Instance member 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

Static member FromHandle(handle)

Resolves a control handle and casts it to XSalFlatButton.

ParameterTypeDescription
handleSalWindowHandleThe button’s window handle.

Returns: XSalFlatButton. The button, or null when the handle resolves to no control.

Implements

NameDescription
ISalControl
ISalPictureControl
ISalWindow