Documentation
On this page

Interface · Core and Composition

DesktopStyleSetters

Values assigned when a DesktopStyle selector matches a control.

@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43

Members

background

background?: DesktopStyleValue

Background brush or color.

Type: DesktopStyleValue

fontSize

fontSize?: DesktopStyleValue

Text font size.

Type: DesktopStyleValue

fontStyle

fontStyle?: DesktopStyleValue

Text font style.

Type: DesktopStyleValue

fontWeight

fontWeight?: DesktopStyleValue

Text font weight.

Type: DesktopStyleValue

foreground

foreground?: DesktopStyleValue

Foreground brush or color.

Type: DesktopStyleValue

height

height?: DesktopStyleValue

Preferred control height.

Type: DesktopStyleValue

horizontalAlignment

horizontalAlignment?: DesktopStyleValue

Horizontal layout alignment.

Type: DesktopStyleValue

isEnabled

isEnabled?: DesktopStyleValue

Control enabled state.

Type: DesktopStyleValue

isVisible

isVisible?: DesktopStyleValue

Control visibility.

Type: DesktopStyleValue

margin

margin?: DesktopStyleValue

Space outside the control.

Type: DesktopStyleValue

maxHeight

maxHeight?: DesktopStyleValue

Maximum control height.

Type: DesktopStyleValue

maxWidth

maxWidth?: DesktopStyleValue

Maximum control width.

Type: DesktopStyleValue

minHeight

minHeight?: DesktopStyleValue

Minimum control height.

Type: DesktopStyleValue

minWidth

minWidth?: DesktopStyleValue

Minimum control width.

Type: DesktopStyleValue

opacity

opacity?: DesktopStyleValue

Control opacity.

Type: DesktopStyleValue

padding

padding?: DesktopStyleValue

Space inside the control border.

Type: DesktopStyleValue

verticalAlignment

verticalAlignment?: DesktopStyleValue

Vertical layout alignment.

Type: DesktopStyleValue

width

width?: DesktopStyleValue

Preferred control width.

Type: DesktopStyleValue

Source

SharpTS.Gui.Sdk/GuiPackage/runtime.ts:983 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.