Click or drag to resize

PageDataGridDataItemClass Class

Data table for windows user interface
Inheritance Hierarchy
SystemObject
  SOWIWin.HelperPageDataGridDataItemClass
    SOWIWin.HelperControllerDataGridDataItemClass

Namespace:  SOWIWin.Helper
Assembly:  SOWIWin.Helper (in SOWIWin.Helper.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public class PageDataGrid<DataItemClass>

Type Parameters

DataItemClass
Data item class e.g. SOWIData.App.Ticket

The PageDataGridDataItemClass type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyDataGridView
Data Grid View puts of method SetViewBag
Public propertyCode examplePageDataGridUI
Page data grid user interface (WPF XAML object)
Public propertyTempData
Represents a set of data that persists only instance
Top
Methods
  NameDescription
Public methodCopy
Copy the selected data item to his data grid
Private methodCopyItem
Copies a object 1:1
Public methodCode exampleCopyToClipboard
Copy the selected data items to clipboard
Public methodCopyToClipboard(IList)
Copy data items to clipboard
Public methodDataRefresh
Refresh user interface data table view
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetColumnIndexByName
Give column index by column name
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodCode exampleInsertFromClipboard
Insert data items from clipboard
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodCode exampleOnCollectionChanged
Data items changed handling
Protected methodCode exampleOnCopy
Event copy from object DataGrid (DataGridMain)
Protected methodOnCopyToClipboard
Called method CopyToClipboard(IList). Can be overridden.
Private methodOnPaste
Insrt from clipboard
Protected methodOnRemove
Data item remove of datagrid
Protected methodCode exampleOnSetColumn
Puts column with a selection list (ComboBox object, when exist a ListName)
Protected methodCode exampleOnSetColumnsDisplayIndex
Set columns display order (index)
Protected methodCode exampleOnSetColumnsReadOnly
Set column field edit or read only
Protected methodCode exampleOnSetColumnsVisibility
Set columns visibility.
Public methodSetData
Set data to DataItems and PageDataGridUI.DataGridMain.DataContext
Public methodCode exampleToCopy
Copy a data item. Put properties: ID 0, Action Create, Status Create and empty GUID
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldDataItems
Data items object set by method SetData
Top
Extension Methods
  NameDescription
Public Extension MethodGetObjectToBytes
Convert an object to byte array
(Defined by Extensions.)
Public Extension MethodIsNumber
Check is value a number
(Defined by Convert.)
Public Extension MethodToHTMLDisplay(DataGrid, TempDataDictionary)Overloaded. (Defined by Extensions.)
Public Extension MethodCode exampleToHTMLDisplay(String, DataGridDataTypes, String, String, String, String, TempDataDictionary)Overloaded.
Gives HTML code for display.
(Defined by Extensions.)
Public Extension MethodToHTMLEditor(DataGrid, TempDataDictionary, String)Overloaded. (Defined by Extensions.)
Public Extension MethodToHTMLEditor(String, DataGridDataTypes, String, String, String, TempDataDictionary, Boolean, String, DataPlacements, String, String)Overloaded.
Gives HTML code for Input field
(Defined by Extensions.)
Public Extension MethodCode exampleToHTMLHidden(String)Overloaded.
Gives HTML code for hidden data
(Defined by Extensions.)
Public Extension MethodToHTMLHidden(DataGrid)Overloaded.
Gives HTML code for hidden data
(Defined by Extensions.)
Public Extension MethodXMLWrite
Gives XML string from data item
(Defined by Helper.)
Top
Remarks
User interface object is PageDataGridUI (WPF XAML object)
See Also