Skip to main content
Version: 4.1

IUserData

Namespace: Wisej.Web

Assembly: Wisej.Framework (4.1.0.0)

Provides access to the UserData and Tag properties associated to the component implementing this interface.

public interface IUserData

Using IUserData allows developers to use uniform code to access the UserData and Tag properties without having to check and cast the objects.


// Old code
if (control is DataGridViewColumn)
((DataGridViewColumn)control).UserData.SomeValue = "User value";
else if (control is ColumnHeader)
((ColumnHeader)control).UserData.SomeValue = "User value";
// etc...

// New code
if (control is IUserData)
((IUserData)control).UserData.SomeValue = "User value";

Properties

Instance member Tag

Object: Returns or sets the Tag property associated with the component.

Instance member UserData

Object: Returns the UserData dynamic object associated with the component.

Implemented By

NameDescription
TableLayoutPanelRepresents a panel that dynamically lays out its contents in a grid composed of rows and columns.
FileDialogUIUI implementation for the FileDialog class.
FolderBrowserDialogUIUI implementation for the FolderDialog class.
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.
CheckedListBoxDisplays a ListBox in which a check box is displayed to the left of each item.
ComboBoxRepresents a combo box control.
BindableComponentExtends Component and enables the component to participated if data binding operations and have their own DataBindings.
ComponentExtends Component and enables the components to appear on the designer surface.
ContainerControlProvides focus-management functionality for controls that can function as a container for other controls.
ControlBase class for all Wisej controls.
DateTimePickerRepresents a control that allows the user to select or type a date and a time.
DomainUpDownRepresents a spinner control that displays string values.
FlowLayoutPanelRepresents a panel that dynamically arranges its controls horizontally or vertically in automatic rows or columns.
FormRepresents a window or dialog box that makes up an application's user interface.
GroupBoxRepresents a Wisej control that displays a frame around a group of controls with an optional caption.
LabelRepresents a label control.
LinkLabelRepresents an hyper-link control.
ListBoxRepresents a control to display a list of items.
ListControlProvides a common implementation of members for the ListBox and ComboBox classes.
MaskedTextBoxUses a mask to distinguish between proper and improper user input.
MdiClientRepresents the container for multiple-document interface (MDI) child forms.
MessageBoxDisplays a message box that can contain text, buttons, and symbols that inform and instruct the user.
MonthCalendarRepresents a control that enables the user to select a date using a visual monthly calendar display.
NumericUpDownRepresents a spinner control that displays numeric values.
PageRepresents a web page that fills the browser and acts as the main container for the application. An application can have only one active main page at any given time.
PanelRepresents a collapsible panel with an optional header that contains a group of controls.
PictureBoxRepresents an image control.
ProgressBarRepresents a progress control that displays a value visually as a filled bar.
RadioButtonEnables the user to select a single option from a group of choices when paired with other RadioButton controls.
ScrollableControlDefines a base class for controls that support auto-scrolling behavior.
HScrollBarRepresents an horizontal scroll bar.
VScrollBarRepresents a vertical scroll bar.
ScrollBarImplements the basic functionality of a scroll bar control.
SplitContainerRepresents a control consisting of a movable bar that divides a container's display area into two resizable panels.
SplitterPanelCreates a panel that is associated with a SplitContainer.
TabControlManages a related set of TabPage pages.
TabPageRepresents a single tab page in a TabControl.
TextBoxRepresents a text box control that allows the user to enter any value.
TextBoxBaseImplements the basic functionality required by text controls.
TimerImplements a timer that raises an event at user-defined intervals.
TrackBarEnables the user to choose between a range of values by sliding a small bar along another bar.
UpDownBaseImplements the basic functionality required by a spin box (also known as an up-down control).
UserControlProvides an empty control that can be used to create other controls.
WebBrowserRepresents a web browser control that enables the user to navigate web pages inside a form or a page.
DataGridViewButtonCellDisplays a button widget in a DataGridViewCell cell.
DataGridViewButtonColumnRepresents a DataGridView column that contains a collection of DataGridViewButtonCell cells.
DataGridViewCheckBoxCellDisplays a CheckBox icon (not the actual control) in a DataGridViewCell cell.
DataGridViewCheckBoxColumnRepresents a DataGridView column that contains a collection of DataGridViewCheckBoxCell cells.
DataGridViewColumnRepresents a column in a DataGridView control.
DataGridViewComboBoxCellDisplays an editable ComboBox control in a DataGridViewCell cell when in edit mode.
DataGridViewComboBoxColumnRepresents a DataGridView column that contains a collection of DataGridViewComboBoxCell cells.
DataGridViewComboBoxEditingControlRepresents a ComboBox control that can be hosted in a DataGridViewComboBoxCell.
DataGridViewDateTimePickerCellDisplays an editable DateTimePicker control in a DataGridViewCell cell when in edit mode.
DataGridViewDateTimePickerColumnRepresents a DataGridView column that contains a collection of DataGridViewDateTimePickerCell cells.
DataGridViewDateTimePickerEditingControlRepresents a DateTimePicker control that can be hosted in a DataGridViewDateTimePickerCell.
DataGridViewImageCellDisplays an image in a DataGridViewCell cell.
DataGridViewImageColumnRepresents a DataGridView column that contains a collection of DataGridViewImageCell cells.
DataGridViewLinkCellDisplays a link widget in a DataGridViewCell cell.
DataGridViewLinkColumnRepresents a DataGridView column that contains a collection of DataGridViewLinkCell cells.
DataGridViewMaskedTextBoxCellDisplays an editable MaskedTextBox control in a DataGridViewCell cell when in edit mode.
DataGridViewMaskedTextBoxColumnRepresents a DataGridView column that contains a collection of DataGridViewTextBoxCell cells.
DataGridViewMaskedTextBoxEditingControlRepresents a MaskedTextBox control that can be hosted in a DataGridViewMaskedTextBoxCell cell.
DataGridViewNumericUpDownCellDisplays an editable NumericUpDown control in a DataGridViewCell cell when in edit mode.
DataGridViewNumericUpDownColumnRepresents a DataGridView column that contains a collection of DataGridViewNumericUpDownCell cells.
DataGridViewNumericUpDownEditingControlRepresents a NumericUpDown control that can be hosted in a DataGridViewNumericUpDownCell.
DataGridViewTextBoxCellDisplays an editable TextBox control in a DataGridViewCell cell when in edit mode.
DataGridViewTextBoxColumnRepresents a DataGridView column that contains a collection of DataGridViewTextBoxCell cells.
DataGridViewTextBoxEditingControlRepresents a TextBox control that can be hosted in a DataGridViewTextBoxCell cell when the cell's WrapMode is set to False.
DataGridViewRepresents a data grid control.
DataGridViewBandRepresents a linear collection of elements in a DataGridView control.
DataGridViewCellRepresents an individual cell in a DataGridView control.
DataGridViewColumnHeaderCellRepresents a column header in a DataGridView control.
DataGridViewHeaderCellContains functionality common to row header cells and column header cells.
DataGridViewRowRepresents a row in a DataGridView control.
DataGridViewRowHeaderCellRepresents a row header of a DataGridView control.
DataGridViewSummaryRowRepresents a summary row in a DataGridView control.
DataRepeaterDisplays data in a customizable list format.
DataRepeaterItemUsed by the DataRepeater control to display data at run time.
DesktopRepresents a desktop container that can host floating windows.
DesktopTaskBarItemRepresents a component in the Desktop control's taskbar.
DesktopTaskBarItemControlRepresents a component in the Desktop control's taskbar that can host any Control.
DesktopTaskBarItemDateTimeRepresents a DateTime component in the Desktop control's taskbar.
ValidationAdds a common validation system to any Control.
AnimationProvides support for animating controls or windows using predefined animations definitions or custom animations in response to certain events.
ErrorProviderProvides a user interface for indicating that a control on a form has an error associated with it.
HelpTipRepresents a small rectangular pop-up window that displays a brief help text next to a control when it gets activated (focused).
JavaScriptAllows controls to execute javascript code.
RotationAdd rotation capabilities along the X,Y,Z axis to Control controls.
StyleSheetAdds CSS styling to controls.
ToolTipRepresents a small rectangular pop-up window that displays a brief description of a control's purpose when the user rests the pointer on the control.
AccordionDisplays collapsible set of AccordionPanel panels for presenting information in a limited amount of space.
AccordionPanelRepresents a panel in a Accordion control.
AlertBoxDisplays an alert box that can contain an icon and text that inform and instruct the user. Alert boxes are not modal and can disappear automatically.
AspNetPanelRepresents a control that can host ASP.NET or MVC pages within a Wisej application.
CanvasRepresents a drawing surface for immediate-mode 2D rendering, similar to the HTML5 Canvas API.
FlashPlayerRepresents a FlashPlayer control that can display flash applications.
FlexLayoutPanelRepresents a panel that dynamically arranges its child controls.
HtmlPanelRepresents a control that displays any HTML file and a corresponding CSS style sheet as embedded HTML.
IFramePanelRepresents a control that displays any HTML file in an IFrame element.
LineRepresents a line control.
ListViewComboBoxThe TreeViewComboBox control represents a UserComboBox control with a ListView as the drop down panel.
MediaBase implementation for media controls.
VideoRepresents a Video control that displays a video file.
AudioRepresents a Audio control that plays an audio file.
PdfViewerRepresents a PdfViewer control that can display a pdf document in the browser either using the native pdf viewer, the pdf.js viewer, Google docs, or a custom viewer.
ShapeRepresents a shape control. Displays an element a border in any of the four sides.
SlideBarDisplays child controls vertically or horizontally in a scrollable container.
SpacerRepresents a spacer control. It can be used to add a space between controls in a layout panel. It is not rendered on the client.
SplitButtonRepresents a split button control.
TagTextBoxRepresents a data field that displays a list of selectable and removable tags. The control recognizes tags as the user types and adds in front of the editable field.
TimeUpDownRepresents a spinner control that displays TimeSpan values.
ToastDisplays a toast that can contain an icon and text.
ComponentToolRepresent a tool widget that can be displayed inside another control. A tool widget is different from other child controls: it's displayed inside the parent's layout. For example, the Form control shows tool widgets inside the caption bar. When a tool widget is pressed, it fires the toolClicked event on the container.
TreeViewComboBoxThe TreeViewComboBox control represents a UserComboBox control with a TreeView as the drop down panel.
TypedTextBoxRepresents a text box control that allows the user to enter a typed value.
UploadRepresent an upload widget. Allows users to selected one or more files and upload them to the server.
UserComboBoxThe UserComboBox control represents a ComboBox control with a custom panel that drops down when the user clicks the down arrow.
UserPopupProvides an popup container that can be attached to other controls.
WidgetProvides a generic widget that can use most third party javascript widgets.
ImageListProvides methods to manage a collection of Image objects. This class cannot be inherited.
ColumnHeaderDisplays a standard column header in a ListView control.
ImageColumnHeaderDisplays an image column header in a ListView control.
ListViewRepresents a list view control, which displays a collection of items that can be displayed using one of four different views.
ListViewItemRepresents an item in a ListView control.
CheckedMenuItemRepresents an individual menu item that is displayed within a MainMenu or ContextMenu and always shows a checkbox next to the label.
ContextMenuRepresents a context menu associated to a Control.
LinkMenuItemRepresents an individual menu item that is displayed within a MainMenu or ContextMenu rendered using the <a> link element to let the browser process the specified HRef URL.
MainMenuRepresents the main menu in a Form.
MenuRepresents the base functionality for all menus.
MenuBarRepresents a menu bar component.
MenuItemRepresents an individual item that is displayed within a MainMenu or ContextMenu.
GridItemImplements one row in a PropertyGrid.
PropertyGridProvides a user interface for browsing the properties of an object.
StatusBarDisplays information to the user in a about the object being viewed, the object's components, or the object's operation.
StatusBarControlRepresents a panel in a StatusBar control that can host any Control.
StatusBarPanelRepresents a panel in a StatusBar control.
ToolBarRepresents a toolbar component.
ToolBarButtonRepresents an item in the ToolBar.
TreeNodeRepresents a node of a TreeView.
TreeViewDisplays a hierarchical collection of labeled items, each represented by a TreeNode.
ClientBrowserProperties of the client browser currently interacting with the application.
ComponentThe base class for Wisej components that are not controls. Wisej components are still managed on the client and the server but are not present on the designer surface. Examples of wisej components are: menu items, image lists, tree nodes, list items.
ListViewSubItemRepresents a sub-item of a ListViewItem.