Skip to main content

XSalFlatButton

Namespace: PPJ.Runtime.XSal

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

Provides a nonselectable SAL pushbutton with XSal toolbar border and image-placement styles.

public class XSalFlatButton : SalPushbutton

Example:

var button = new PPJ.Runtime.XSal.XSalFlatButton();
button.Text = "Open";
button.Style = PPJ.Runtime.XSal.XSal.ToolbuttonStyles.Flat;

Constructors

Instance member XSalFlatButton()

Initializes a toolbar button that does not take keyboard focus.

Properties

Instance member Style

ToolbuttonStyles: Gets or sets the flat-border and image-placement flags.

ThinBorder has no additional effect. LeftImage takes precedence over RightImage when both flags are set.

Methods

Static member FromHandle(handle)

Resolves a native handle to a flat button.

ParameterTypeDescription
handleSalWindowHandleThe button handle.

Returns: XSalFlatButton. The button, or null if no managed control is associated.

Throws:

Implements

NameDescription
ISalControl
ISalPictureControl
ISalWindow