Skip to main content
Version: 3.5

IImage

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

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

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

Instance memberImage

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

Instance memberImageAlign

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

Instance memberImageIndex

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

Instance memberImageKey

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

Instance memberImageList

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

Instance memberImageSource

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

Implemented By

NameDescription
TableLayoutPanelRepresents a panel that dynamically lays out its contents in a grid composed of rows and columns.
BindingNavigatorRepresents the navigation and manipulation user interface (UI) for controls that are bound to a data source.
ButtonRepresents a button control.
ButtonBaseImplements the basic functionality common to button controls.
CheckBoxRepresents a check box control.
FlowLayoutPanelRepresents a panel that dynamically arranges its controls horizontally or vertically in automatic rows or columns.
LabelRepresents a label control.
LinkLabelRepresents an hyper-link control.
PanelRepresents a collapsible panel with an optional header that contains a group of controls.
PictureBoxRepresents an image control.
RadioButtonEnables the user to select a single option from a group of choices when paired with other RadioButton controls.
SplitterPanelCreates a panel that is associated with a SplitContainer.
TabPageRepresents a single tab page in a TabControl.
DataRepeaterItemUsed by the DataRepeater control to display data at run time.
AccordionPanelRepresents a panel in a Accordion control.
FlexLayoutPanelRepresents a panel that dynamically arranges its child controls.
SplitButtonRepresents a split button control.
ColumnHeaderDisplays a standard column header in a ListView control.
ImageColumnHeaderDisplays an image column header in a ListView control.
ListViewItemRepresents an item in a ListView control.
TreeNodeRepresents a node of a TreeView.