Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Wisej.Web.GridItemType
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Specifies the valid grid item types for a PropertyGrid.
Name | Description |
---|---|
Name | Description |
---|---|
ArrayValue
The GridItem is an element of an array.
Category
A grid entry that is a category name. A category is a descriptive grouping for groups of GridItem rows. Typical categories include the following Behavior, Layout, Data, and Appearance.
Property
A grid entry that corresponds to a property.
Root
A root item in the grid hierarchy.
Returns the type of this GridItem.
Wisej.Web.PropertyGrid
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Provides a user interface for browsing the properties of an object.
Initializes a new instance of the PropertyGrid class.
BorderStyle: Indicates the border style for the property grid.
Attribute[]: Returns or sets the attributes used to filter the properties to display in the PropertyGrid.
Boolean: Returns or sets whether the column that contains row headers is displayed.
Boolean: Returns or sets whether the value cell automatically enters edit mode when the row is selected.
Boolean: Returns or sets whether the Help text is visible.
GridItem: Returns the GridItem at the specified index.
GridItem: Returns the first GridItem with the matching label.
Single: Returns or sets the FillWeight the Name column. 50 (%) is the default.
Throws:
ArgumentException A value less than -1 is assigned to the property.
String: Returns or sets the title of the Name column shown when ColumnHeadersVisible is true.
PropertySort: Returns or sets the type of sorting the PropertyGrid uses to display properties.
Boolean: Returns or sets whether the user can edit the values of the SelectedObject.
Throws:
InvalidOperationException The specified value when setting this property is true, the current cell is in edit mode, and the current cell contains changes that cannot be committed.
Exception The specified value when setting this property would cause the control to enter edit mode, but initialization of the editing cell value failed and either there is no handler for the DataError event or the handler has set the ThrowException property to true. The exception object can typically be cast to type FormatException.
Boolean: Returns or sets whether the grid item under the pointer gets selected on a right click.
Boolean: Returns or sets whether the column that contains row headers is displayed.
GridItem: Returns or sets the selected grid item.
Object: Returns or sets the object for which the grid displays properties.
Object[]: Returns or sets the currently selected objects.
Throws:
ArgumentException One of the items in the array of objects had a null value.
Boolean: Returns or sets whether the control shows the property description text in a tooltip.
ToolBar: Returns the ToolBar control at the top of the PropertyGrid.
Boolean: Returns or sets whether the toolbar is visible.
ComponentToolCollection: Returns the instance of ComponentToolCollection associated with this control.
Position: Returns or sets the position of the T:Wisej.Web.ComponentTool items associated with this control.
String: Returns or sets the title of the Value column shown when ColumnHeadersVisible is true.
Collapses all the categories in the PropertyGrid.
Expands all the categories in the PropertyGrid.
Reloads the updated values from the current SelectedObject or SelectedObjects.
Reloads the updated values from the current SelectedObject or SelectedObjects.
Resets the selected property to its default value.
EventHandler Fired when the value o the NameFillWeight property changes.
EventHandler Fired when the sort mode is changed.
PropertyValueChangedEventHandler Fired when a property value changes.
PropertyValueDataErrorEventHandler Fired when a property value is being changed but it is incompatible with the new value.
PropertyValueFormattingEventHandler Fired when the property value is being formatted to be displayed.
SelectedGridItemBeginEditEventHandler Fired when the selected GridItem is entering edit mode.
SelectedGridItemChangedEventHandler Fired when the selected GridItem is changed.
SelectedGridItemEndEditEventHandler Fired when the selected GridItem exits edit mode.
EventHandler Fired when the objects selected by the SelectedObjects property have changed.
ToolBarButtonClickEventHandler Fired when a ToolBarButton on the ToolBar is clicked.
ToolBarButtonClickEventHandler Fired when a drop-down style ToolBarButton or its down arrow is clicked.
ToolClickEventHandler Fired when a ComponentTool is clicked.
Wisej.Web.PropertyValueChangedEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Provides data for the PropertyValueChanged event of a PropertyGrid control.
Initializes a new instance of the PropertyValueChangedEventArgs class.
Name | Type | Description |
---|---|---|
GridItem: Returns the GridItem that was changed.
Object: The value of the grid item before it was changed.
Wisej.Web.PropertyValueDataErrorEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Provides data for the PropertyValueDataError event of a PropertyGrid control.
Initializes a new instance of the PropertyValueDataErrorEventArgs class.
Name | Type | Description |
---|---|---|
GridItem: Returns the GridItem that is being changed.
Exception: Returns the exception that represents the error.
Wisej.Web.GridItem
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Implements one row in a PropertyGrid.
String: Name of the JavaScript call used to render the cell.
Boolean: Return whether the specified property is expandable to show nested properties.
Boolean: Returns or sets whether the GridItem is in an expanded state.
Throws:
NotSupportedException The Expanded property was set to true, but a GridItem is not expandable.
GridItemCollection: Returns the collection of GridItem objects, if any, associated as a child of this GridItem.
GridItemType: Returns the type of this GridItem.
Boolean: Checks if the UserData dynamic object was created and has any value.
String: Returns the text of this GridItem.
GridItem: Returns the parent GridItem of this GridItem, if any.
PropertyDescriptor: Returns the PropertyDescriptor that is associated with this GridItem.
Object: Returns or sets user-defined data about the GridItem.
Object: Returns a dynamic object that can be used to store custom data in relation to this control.
Object: Returns or sets the current value of this GridItem.
Selects this GridItem in the PropertyGrid.
Returns: Boolean. true if the selection is successful; otherwise, false.
Wisej.Web.PropertyValueFormattingEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Provides data for the PropertyValueFormattingEventHandler event of a PropertyGrid control.
DataGridViewCellStyle: Returns the current DataGridViewCellStyle in use by the cell being formatted.
Boolean: Returns or sets whether the cell value has been successfully formatted.
GridItem: Returns the GridItem that is entering edit mode.
Boolean: Returns whether the event is related to the label cell.
Object: Returns or sets the value of the cell being formatted for displaying.
Wisej.Web.GridItemCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Contains a collection of objects.
Name | Type | Description |
---|
: Returns the number of grid items in the collection.
: Returns the at the specified index.
: Returns the with the matching label.
Returns an enumeration of all the grid items in the collection.
Wisej.Web.SelectedGridItemBeginEditEventArgs
Parameter | Type | Description |
---|---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Name | Description |
---|---|
Returns: . An for the .
refreshChildren
True to also refresh all the children of this control.
Bindable components implement this interface.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
The event handler class that is invoked when a property in the grid is modified by the user.
sender
The source of the event.
e
A PropertyValueChangedEventArgs that contains the event data.
Fired when a property value changes.
The event handler class that is invoked when a property in the grid cannot receive the value modified by the user.
The event handler class that is invoked when a property in the grid formats the value cell.
sender
The source of the event.
e
A SelectedGridItemBeginEditEventArgs that contains the event data.
Fired when the selected GridItem exits edit mode.
changedItem
The item in the grid that changed.
oldValue
The old property value.
changingItem
The item in the grid that caused the data error.
exception
The exception that occurred while writing the property value.
sender | The source of the event. |
e | A that contains the event data. |
Fired when a property value is being changed but it is incompatible with the new value. |
Empty |
Alphabetical | Properties are sorted in an alphabetical list. |
Categorized | Properties are displayed according to their category in a group. The categories are defined by the properties themselves. |
CategorizedAlphabetical | Properties are displayed according to their category in a group. The properties are further sorted alphabetically within the group. The categories are defined by the properties themselves. |
NoSort | Properties are displayed in the order in which they are retrieved from the . |
Returns or sets the type of sorting the uses to display properties. |
The event handler class that is invoked when a property in the grid is entering edit mode. |
Wisej.Web.SelectedGridItemEndEditEventArgs
Wisej.Web.SelectedGridItemChangedEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Provides data for the event of the control.
Initializes a new instance of the class.
Name | Type | Description |
---|
: Returns the newly selected .
: Returns the previously selected .
Specifies that the has no entries.
Name | Description |
---|
sender
The source of the event.
e
A SelectedGridItemBeginEditEventArgs that contains the event data.
Fired when the selected GridItem is entering edit mode.
sender
The source of the event.
e
A PropertyValueFormattingEventArgs that contains the event data.
Fired when the property value is being formatted to be displayed.
The event handler class that is invoked when a property in the grid is terminating edit mode. |
oldSelection | The previously selected grid item. |
newSelection | The newly selected grid item. |
Represents the method that will handle the event of a .
Wisej.Web.SelectedGridItemChangedEventHandler
Namespace: Wisej.Web
Assembly: Wisej.Framework (2.5.0.0)
Represents the method that will handle the SelectedGridItemChanged event of a PropertyGrid.
Name | Type | Description |
---|---|---|
Name | Description |
---|---|
sender
The source of the event.
e
A SelectedGridItemChangedEventArgs that contains the event data.
Fired when the selected GridItem is changed.