For the complete documentation index, see llms.txt. This page is also available as Markdown.

IImage

Wisej.Web.IImage

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Provides access to common image properties across the controls that implement this interface.

public interface IImage
Public Interface IImage

Using IImage allows developers to use uniform code to access the image-related properties used by the control.


// Old code
if (control is Button)
((Button)control).ImageSource = "icon-save";
else if (control is Label)
((Label)control).ImageSource = "icon-save";
// etc...

// New code
if (control is IImage)
((IImage)control).ImageSource = "icon-save";

Properties

Image

Image: Returns or sets the Image that is displayed in the control.

ImageAlign

ContentAlignment: Returns or sets the alignment of the image for the controls that support image alignment.

ImageIndex

Int32: Returns or sets the image list index value of the image in the ImageList.

ImageKey

String: Returns or sets the key accessor for the image in the ImageList.

ImageList

ImageList: Returns or sets the ImageList that contains the images to display in the control.

ImageSource

String: Returns or sets the theme name or URL for the image to display in the control.

Implemented By

Name
Description

Represents a panel that dynamically lays out its contents in a grid composed of rows and columns.

Represents the navigation and manipulation user interface (UI) for controls that are bound to a data source.

Represents a button control.

Implements the basic functionality common to button controls.

Represents a check box control.

Represents a panel that dynamically arranges its controls horizontally or vertically in automatic rows or columns.

Represents a label control.

Represents an hyper-link control.

Represents a collapsible panel with an optional header that contains a group of controls.

Represents an image control.

Enables the user to select a single option from a group of choices when paired with other RadioButton controls.

Creates a panel that is associated with a SplitContainer.

Represents a single tab page in a TabControl.

Used by the DataRepeater control to display data at run time.

Represents a panel in a Accordion control.

Represents a panel that dynamically arranges its child controls.

Represents a split button control.

Displays a standard column header in a ListView control.

Displays an image column header in a ListView control.

Represents an item in a ListView control.

Represents a node of a TreeView.

Last updated

Was this helpful?