Nevron Open Vision Documentation
NColumn Class Members
Fields  Properties  Methods  Events


The following tables list the members exposed by NColumn.

Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)AllowEditProperty  
Public Fieldstatic (Shared in Visual Basic)AllowFilterProperty  
Public Fieldstatic (Shared in Visual Basic)AllowFormatProperty  
Public Fieldstatic (Shared in Visual Basic)AllowGroupProperty  
Public Fieldstatic (Shared in Visual Basic)AllowReorderProperty  
Public Fieldstatic (Shared in Visual Basic)AllowResizeProperty  
Public Fieldstatic (Shared in Visual Basic)AllowSortProperty  
Public Fieldstatic (Shared in Visual Basic)CellClickEvent  
Public Fieldstatic (Shared in Visual Basic)ColumnClickEvent  
Public FieldCreateGroupingRuleDelegateEvent, which occurs when the column needs to create grouping rule for itself.  
Public FieldCreateHeaderContentDelegateEvent, which occurs when the column needs to create header content for a column header, grouping column header etc.  
Public FieldCreateSortingRuleDelegateEvent, which occurs when the column needs to create sorting rule for itself.  
Public Fieldstatic (Shared in Visual Basic)DesiredHeightProperty  
Public Fieldstatic (Shared in Visual Basic)DesiredWidthProperty  
Public Fieldstatic (Shared in Visual Basic)DisplayIndexProperty  
Public Fieldstatic (Shared in Visual Basic)EditorChild  
Public Fieldstatic (Shared in Visual Basic)FixedWidthProperty  
Public Fieldstatic (Shared in Visual Basic)FormatChildReference to the format child.  
Public Fieldstatic (Shared in Visual Basic)FormattingRulesChild  
Public Fieldstatic (Shared in Visual Basic)FreezeModeProperty  
Public Fieldstatic (Shared in Visual Basic)HasFiltersPropertyReference to the HasFilters property  
Public Fieldstatic (Shared in Visual Basic)HeaderChildReference to the header child.  
Public Fieldstatic (Shared in Visual Basic)HeightProperty  
Public Fieldstatic (Shared in Visual Basic)IsAutoCreatedPropertyReference to the IsAutoCreated property  
Public Fieldstatic (Shared in Visual Basic)IsFrozenPropertyReference to the IsFrozen property  
Public Fieldstatic (Shared in Visual Basic)MinWidthProperty  
Public Fieldstatic (Shared in Visual Basic)NColumnSchemaSchema associated with column  
Public Fieldstatic (Shared in Visual Basic)SortingDirectionPropertyReference to the SortingDirection property  
Public Fieldstatic (Shared in Visual Basic)TitleProperty  
Public Fieldstatic (Shared in Visual Basic)WidthModeProperty  
Public Fieldstatic (Shared in Visual Basic)WidthPercentProperty  
Public Fieldstatic (Shared in Visual Basic)WidthProperty  
Public Fieldstatic (Shared in Visual Basic)XProperty  
Public Fieldstatic (Shared in Visual Basic)YProperty  
Top
Public Properties
 NameDescription
Public PropertyAllowEditGets or sets whether the user is allowed to edit the columns cells. By default set to true.  
Public PropertyAllowFilterGets or sets whether the user is allowed to filter by the column content by clicking on the filter symbol. By default set to true.  
Public PropertyAllowFormatGets or sets whether the user is allowed to format the column . By default set to true.  
Public PropertyAllowGroupGets or sets whether the user is allowed to group by the column by dragging it in the grouping panel. This property is applicable only when the column is inside a NTableView.  
Public PropertyAllowReorderGets or sets whether the user is allowed to reorder the column by dragging it. By default set to true.  
Public PropertyAllowResizeGets or sets whether the user is allowed to resize the column. By default set to true.  
Public PropertyAllowSortGets or sets whether the user is allowed to sort the columns by clicking on them. By default set to true.  
Public PropertyBoundsShortcut property that gets or sets the X, Y, Width and Height properties  
Public PropertyDesiredHeightGets the desired Height of the column. Automatically updated by Nevron.  
Public PropertyDesiredWidthGets the desired Width of the column. Automatically updated by Nevron.  
Public PropertyDisplayIndexGets the display index of the column. Automatically updated by Nevron.  
Public PropertyEditorGets or sets the column editor  
Public PropertyFixedWidthDetermines the fixed width of the column, if WidthMode is set to Fixed.  
Public PropertyFormatGets or sets the column format  
Public PropertyFormattingRulesGets or sets the collection of formatting rules, that applies conditional formating to the column.  
Public PropertyFreezeModeGets or sets the column freeze mode.  
Public PropertyHasFiltersGets whether there are any filters associated with that column. Automatically updated by Nevron.  
Public PropertyHeaderGets or sets the column header.  
Public PropertyHeightGets the Height of the column  
Public PropertyIsArrangeValidGets whether the arrange of the element is valid.  
Public PropertyIsAutoCreatedGets whether this column is automatically generated. Automatically updated by Nevron.  
Public PropertyIsFrozenGets whether this column is frozen. Automatically updated by Nevron.  
Public PropertyIsMeasureValidGets whether the measure of the element is valid  
Public PropertyIsPooledForArrangeGets whether the element is pooled for arrange validation.  
Public PropertyIsPooledForMeasureGets whether the element is pooled for measure validation.  
Public PropertyMinWidthGets or sets the minimal width of the column  
Public PropertyOwnerCollectionGets the collection that owns this column  
Public PropertyOwnerGridGets the grid view to which this column belongs  
Public PropertySortingDirectionGets the sorting direction of this column. Automatically updated by Nevron.  
Public PropertyTitleGets or sets the title of the column.  
Public PropertyWidthGets the Width of the column  
Public PropertyWidthModeDetermines the mode in which the width of the column is determined. By default set to Auto.  
Public PropertyWidthPercentDetermines the percent width of the column, if WidthMode is set to Percent.  
Public PropertyXGets the X coordinate of the column inside its collection  
Public PropertyYGets the Y coordinate of the column inside its collection  
Top
Public Methods
 NameDescription
Public MethodBestFitCalled by the NResizeColumnsTool, when the resize column splitter is double clicked.  
Public MethodCanClipOverridden. Overriden to return true  
Public MethodCanEditGets whether the column can be edited.  
Public MethodCanTransformOverridden. Overriden to return true  
Public MethodClickPerforms a click on the column.  
Public MethodCreateDataCellEditorMust override to creates a data cell editor which initially displays the specified value.  
Public MethodCreateGroupingRuleCreates a grouping rule for this column. This implementation raies the CreateColumnGroupingRule event. If the event is not handled by default it creates a grouping rule that groups by this column.  
Public MethodCreateHeaderContentCreates the header content.  
Public MethodCreateSortingRuleCreates a sorting rule for this column.  
Public MethodFormatDataCellFormats the specified data cell to display the specified value.  
Public MethodFormatDefaultDataCellCreates the default data cell, which is used for default row measurement purposes.  
Public MethodGetCellXRangeGets the cell X range  
Public MethodGetClipOverridden. Overriden to clip  
Public MethodGetRowValueGets the column value for the specified data row.  
Public MethodGetRowValuesNullableGets whether the row values associated with this column can be null.  
Public MethodGetRowValuesTypeGets the type associated with the row values for this column  
Public MethodGetTransformOverridden. Gets the matrix that transforms local to parent coordinates  
Public MethodInvalidateArrangeInvalidates the element arrange  
Public MethodInvalidateArrangeFromChildCalled by child or descendant arrange elements that consider this element as arrange parent, and want to inform it to invalidate it's arrange.  
Public MethodInvalidateMeasureInvalidates the element measure and pools the element for measure validation.  
Public MethodInvalidateMeasureFromChildCalled by child or descendant measure elements that consider this element as measure parent, and want to inform it to invalidate it's measure.  
Public MethodLocalToParentOverloaded. Overridden. Transforms a point in local coordinates to the coordinates of its parent coordinate system  
Public MethodParentToLocalOverloaded. Overridden. Transforms a point in parent coordinates to local coordinates  
Public MethodSetRowValueSets the column value for the specified data row.  
Public MethodShowConditionalFormattingDialogShows the column format dialog  
Public MethodShowFilterDialogShows the column filter dialog. Returns true if the dialog is successfully opened.  
Public MethodShowFormatDialogShows the column format dialog  
Public MethodShowPropertiesDialogShows the column properties dialog  
Public MethodToggleSortingDirectionToggles the sorting direction of the column. If it is None, makes it Ascending. If is is Ascending, makes it Descending. If is is Descending, makes it None.  
Public MethodUpdateHeaderContentUpdates the content of the column header. By default the header content is a label displaying the column title and is automatically updated when the Title changes. You may need to call this method when you subcribe for the CreateColumnHeaderContent event and create a custom column header. This method is automatically called by Nevron, when the title property changes.  
Public MethodValidateArrangeCalled to arrange the element  
Public MethodValidateMeasureCalled to validate the element measure  
Top
Protected Methods
 NameDescription
Protected MethodApplyConditionalFormattingApplies to formatting rules to the specified dataCell and view.  
Protected MethodArrangeCoreArranges the row contents  
Protected MethodCreateDefaultGroupingRuleOverridable for creating the default grouping rule for this column. This implementation returns null.  
Protected MethodCreateDefaultHeaderContent  
Protected MethodCreateDefaultSortingRuleOverridable for creating the default sorting rule for this column. This implementation returns null.  
Protected MethodMeasureCoreMeasures the height of the row  
Protected MethodOnClickDefault handler for the column click event. This implementaiton toggles the column sorting direction if it is allowed by the grid and the column.  
Protected MethodOnFreezeModeChangedCalled when the FreezeMode property has changed.  
Protected MethodOnTitleChangedCalled when the Title property has changed. This implemenation calls the UpdateHeaderContent method.  
Top
Public Events
 NameDescription
Public EventColumnClickEvent, which occurs when the column is clicked by the user  
Top
See Also

Reference

NColumn Class
Nevron.Nov.Grid Namespace

 

 


©2017. Nevron Software LLC.

Send Feedback