C# Class Opc.Ua.Sample.Controls.DataListCtrl

Exibir arquivo Open project: OPCFoundation/UA-.NET

Public Methods

Method Description
Clear ( ) : void

Clears the contents of the control,

DataListCtrl ( ) : System
ShowValue ( object value ) : void

Displays a value in the control.

ShowValue ( object value, bool overwrite ) : void

Displays a value in the control.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

EnableMenuItems ( ListViewItem clickedItem ) : void

Enables the menu items.

Private Methods

Method Description
ClearMI_Click ( object sender, EventArgs e ) : void
EditMI_Click ( object sender, EventArgs e ) : void
GetListItem ( int index, bool &overwrite, string name, string type ) : ListViewItem

Returns the list item at the specified index.

GetValueText ( object value ) : string

Formats a value for display in the control.

HideChildren ( ListViewItem listItem ) : void

Hides the components of a value in the control.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

IsEditableType ( object value ) : bool

Returns true is the value is an editable type.

IsExpandableType ( object value ) : bool

Returns true if the type can be expanded.

ItemsLV_MouseClick ( object sender, MouseEventArgs e ) : void
PromptOnLongList ( int length ) : bool

Asks for confirmation before expanding a long list.

RefreshMI_Click ( object sender, EventArgs e ) : void
ShowChildren ( ListViewItem listItem ) : void

Shows the components of a value in the control.

ShowValue ( int &index, bool &overwrite, Array value, int element ) : void

Shows the element of an array in the control.

ShowValue ( int &index, bool &overwrite, DataValue value, int component ) : void

Shows a data value in the control.

ShowValue ( int &index, bool &overwrite, EventFieldList value, int fieldIndex ) : void

Shows an event in the control.

ShowValue ( int &index, bool &overwrite, ExpandedNodeId value, int component ) : void

Shows am expanded node id in the control.

ShowValue ( int &index, bool &overwrite, IEncodeable value, PropertyInfo property ) : void

Shows property of an encodeable object in the control.

ShowValue ( int &index, bool &overwrite, IList value, int element ) : void

Shows the element of a list in the control.

ShowValue ( int &index, bool &overwrite, LocalizedText value, int component ) : void

Shows localized text in the control.

ShowValue ( int &index, bool &overwrite, NodeId value, int component ) : void

Shows a node id in the control.

ShowValue ( int &index, bool &overwrite, QualifiedName value, int component ) : void

Shows qualified name in the control.

ShowValue ( int &index, bool &overwrite, XmlElement value, int childIndex ) : void

Shows an XML element in the control.

ShowValue ( int &index, bool &overwrite, byte value, int blockStart ) : void

Shows a byte array in the control.

ShowValue ( int &index, bool &overwrite, object value ) : void

Shows a value in control.

ShowValue ( int &index, bool &overwrite, string value ) : void

Shows a string in the control.

UpdateList ( int &index, bool &overwrite, object value, object componentValue, object componentId, string name, string type ) : void

Updates the list with the specified value.

UpdatesMI_CheckedChanged ( object sender, EventArgs e ) : void

Method Details

Clear() public method

Clears the contents of the control,
public Clear ( ) : void
return void

DataListCtrl() public method

public DataListCtrl ( ) : System
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

EnableMenuItems() protected method

Enables the menu items.
protected EnableMenuItems ( ListViewItem clickedItem ) : void
clickedItem ListViewItem
return void

ShowValue() public method

Displays a value in the control.
public ShowValue ( object value ) : void
value object
return void

ShowValue() public method

Displays a value in the control.
public ShowValue ( object value, bool overwrite ) : void
value object
overwrite bool
return void