Table of Contents

Struct KnownButtonImage

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Represents a known button image declaration with optional size and alignment.

public struct KnownButtonImage

Constructors

KnownButtonImage()

Initializes a new instance of the KnownButtonImage class.

KnownButtonImage(SvgImage?, CoordAndUnit?)

Initializes a new instance of the KnownButtonImage struct with the specified SVG image and optional size.

KnownButtonImage(KnownButton, CoordAndUnit?)

Initializes a new instance of the KnownButtonImage struct with the specified known button and optional size.

KnownButtonImage(KnownButton?, SvgImage?, CoordAndUnit?)

Initializes a new instance of the KnownButtonImage struct with the specified known button, SVG image, and size.

Fields

Empty

Represents an empty or uninitialized button image.

Transparent

Represents a transparent button image with no visible content.

Properties

Alignment

Gets or sets the alignment of the image.

KnownButton

Gets or sets the known button value.

Size

Gets or sets the size of the image.

SvgImage

Gets or sets the SVG image value.

Methods

SetAlignment(HVAlignment)

Sets the alignment of the current object.

Operators

implicit operator KnownButtonImage(SvgImage?)

Defines an implicit conversion from an SvgImage to a KnownButtonImage.

implicit operator KnownButtonImage(KnownButton)

Implicitly converts a KnownButton to a KnownButtonImage.