TCnPropertyGrid Class

Provides a user interface for browsing the properties of a .Net object.

Namespace: CNClrLib.Control.PropertyGrid
type
 TCnPropertyGrid = class(TCnContainerControl)
 end;

The TCnPropertyGrid type exposes the following members.

Show:
 NameDescription
Create(TComponent)

Creates and initializes a TCnPropertyGrid instance. (Overrides TCnContainerControl.Create(TComponent).)

Destroy

Frees the resources allocated with a TCnPropertyGrid instance. (Overrides TCnContainerControl.Destroy.)

Top
Show:
 NameDescription
AccessibleDescription

Gets or sets the description of the control used by accessibility client applications. (Inherited from TClrCustomControl.)

AccessibleName

Gets or sets the name of the control used by accessibility client applications. (Inherited from TClrCustomControl.)

AccessibleRole

Gets or sets the accessible role of the control (Inherited from TClrCustomControl.)

Align

Determines how the control aligns within its container (parent control). (Inherited from TClrCustomControl.)

Anchors

Specifies how the control is anchored to its parent. (Inherited from TClrCustomControl.)

AutoScroll

Gets or sets a value indicating whether the container enables the user to scroll to any controls placed outside of its visible boundaries. (Inherited from TCnScrollableControl.)

AutoScrollMargin

Gets or sets the size of the auto-scroll margin. (Inherited from TCnScrollableControl.)

AutoScrollMinSize

Gets or sets the minimum size of the auto-scroll. (Inherited from TCnScrollableControl.)

AutoScrollOffset

Gets or sets where this control is scrolled to in ScrollControlIntoView(Control). (Inherited from TClrCustomControl.)

AutoScrollPosition

Gets or sets the location of the auto-scroll position. (Inherited from TCnScrollableControl.)

AutoSize

Specifies whether the control sizes itself automatically to accommodate its contents. (Inherited from TClrCustomControl.)

AutoValidate

Gets or sets a value that indicates whether controls in this container will be automatically validated when the focus changes. (Inherited from TCnContainerControl.)

BackColor

Gets or sets the background color for the control.

BackgroundImage

Gets or sets the background image displayed in the control. (Inherited from TClrCustomControl.)

BackgroundImageLayout

Gets or sets the background image layout as defined in the ImageLayout enumeration. (Inherited from TClrCustomControl.)

BindingContext

Gets or sets the BindingContext for the control. (Inherited from TClrCustomControl.)

BorderStyle

Specifies the appearance and behavior of the form border. (Inherited from TClrCustomControl.)

Bottom

Gets the distance, in pixels, between the bottom edge of the control and the top edge of its container's client area. (Inherited from TClrCustomControl.)

Bounds

Gets or sets the size and location of the control including its nonclient elements, in pixels, relative to the parent control. (Inherited from TClrCustomControl.)

BrowsableAttributes

Gets or sets the browsable attributes associated with the object that the property grid is attached to.

CanSelect

Gets a value indicating whether the control can be selected. (Inherited from TClrCustomControl.)

CanShowCommands

Gets a value indicating whether the commands pane can be made visible for the currently selected objects.

CanShowVisualStyleGlyphs

Gets or sets a value that indicates whether OS-specific visual style glyphs are used for the expansion nodes in the grid area.

Capture

Gets or sets a value indicating whether the control has captured the mouse. (Inherited from TClrCustomControl.)

CategoryForeColor

Gets or sets the text color used for category headings.

CategorySplitterColor

Gets or sets the color of the line that separates categories in the grid area.

CausesValidation

Represents property CausesValidation.

CnDock

Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent. (Inherited from TClrCustomControl.)

CommandsActiveLinkColor

Gets or sets the color of active links in the executable commands region.

CommandsBackColor

Gets or sets the background color of the hot commands region.

CommandsBorderColor

Gets or sets the color of the border surrounding the hot commands region.

CommandsDisabledLinkColor

Gets or sets the unavailable link color for the executable commands region.

CommandsForeColor

Gets or sets the foreground color for the hot commands region.

CommandsLinkColor

Gets or sets the link color for the executable commands region.

CommandsVisible

Gets a value indicating whether the commands pane is visible.

CommandsVisibleIfAvailable

Gets or sets a value indicating whether the commands pane is visible for objects that expose verbs.

CompanyName

Gets the name of the company or creator of the application containing the control. (Inherited from TClrCustomControl.)

Constraints

Specifies the size constraints for the control. (Inherited from TClrCustomControl.)

ContainerControl

Gets the .Net ContainerControl object. (Inherited from TCnContainerControl.)

ContainsFocus

Gets a value indicating whether the control, or one of its child controls, currently has the input focus. (Inherited from TClrCustomControl.)

ControlIntf

Get .Net Control object as interface. (Inherited from TClrCustomControl.)

Controls

Gets the collection of controls contained within the control. (Inherited from TClrCustomControl.)

Created

Gets a value indicating whether the control has been created. (Inherited from TClrCustomControl.)

CurrentAutoScaleDimensions

Represents property CurrentAutoScaleDimensions.

DataBindings

Gets the data bindings for the control. (Inherited from TClrCustomControl.)

DefaultBackColor

Gets the default background color of the control. (Inherited from TClrCustomControl.)

DefaultClrObject

Gets the common language runtime object from this control. (Inherited from TClrCustomControl.)

DefaultFont

Gets the default font of the control. (Inherited from TClrCustomControl.)

DefaultForeColor

Gets the default foreground color of the control. (Inherited from TClrCustomControl.)

DisabledItemForeColor

Gets or sets the foreground color of disabled text in the grid area.

DockPadding

Gets the dock padding settings for all edges of the control. (Inherited from TCnScrollableControl.)

DotNetHandle

Gets the window handle that the .Net control is bound to. (Inherited from TClrCustomControl.)

DragCursor

Specifies the image used to represent the mouse pointer when the control is being dragged. (Inherited from TClrCustomControl.)

DragMode

Specifies how the control initiates drag-and-drop or drag-and-dock operations. (Inherited from TClrCustomControl.)

Enabled

Gets or sets a value indicating whether the control can respond to user interaction. (Inherited from TClrCustomControl.)

Font

Represents property Font.

ForeColor

Gets or sets the foreground color of the control. (Inherited from TClrCustomControl.)

HasChildren

Gets a value indicating whether the control contains one or more child controls. (Inherited from TClrCustomControl.)

HelpBackColor

Gets or sets the background color for the Help region.

HelpBorderColor

Gets or sets the color of the border surrounding the description pane.

HelpForeColor

Gets or sets the foreground color for the Help region.

HelpVisible

Gets or sets a value indicating whether the Help text is visible.

HorizontalScroll

Represents property HorizontalScroll.

IsAccessible

Gets or sets a value indicating whether the control is visible to accessibility applications. (Inherited from TClrCustomControl.)

IsHandleCreated

Gets a value indicating whether the control has a handle associated with it. (Inherited from TClrCustomControl.)

IsMirrored

Gets a value indicating whether the control is mirrored. (Inherited from TClrCustomControl.)

LargeButtons

Gets or sets a value indicating whether buttons appear in standard size or in large size.

LineColor

Gets or sets the color of the gridlines and borders.

Location

Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container. (Inherited from TClrCustomControl.)

MaximumSize

Gets or sets the size that is the upper limit that GetPreferredSize(Size) of the .Net control can specify. (Inherited from TClrCustomControl.)

MinimumSize

Gets or sets the size that is the lower limit that GetPreferredSize(Size) of the .Net control can specify. (Inherited from TClrCustomControl.)

ModifierKeys

Gets a value indicating which of the modifier keys (SHIFT, CTRL, and ALT) is in a pressed state. (Inherited from TClrCustomControl.)

MouseButtons

Gets a value indicating which of the mouse buttons is in a pressed state. (Inherited from TClrCustomControl.)

MousePosition

Gets the position of the mouse cursor in screen coordinates. (Inherited from TClrCustomControl.)

OnAutoValidateChanged

Represents property OnAutoValidateChanged.

OnBackColorChanged

Represents property OnBackColorChanged.

OnBindingContextChanged

Represents property OnBindingContextChanged.

OnClick

Represents property OnClick.

OnCursorChanged

Represents property OnCursorChanged.

OnDoubleClick

Represents property OnDoubleClick.

OnDragDrop

Occurs when a drag-and-drop operation is completed. (Inherited from TClrCustomControl.)

OnDragOver

Occurs when an object is dragged over the control's bounds. (Inherited from TClrCustomControl.)

OnEndDrag

Occurs when the dragging of an object ends, either by dropping the object or by canceling the dragging. (Inherited from TClrCustomControl.)

OnEnter

Represents property OnEnter.

OnFontChanged

Represents property OnFontChanged.

OnMouseCaptureChanged

Represents property OnMouseCaptureChanged.

OnMouseClick

Represents property OnMouseClick.

OnMouseDoubleClick

Represents property OnMouseDoubleClick.

OnMouseHover

Represents property OnMouseHover.

OnPaint

Represents property OnPaint.

OnPropertyChange

Occurs when the published property of the control changes. (Inherited from TClrCustomControl.)

OnScroll

Represents property OnScroll.

PopupMenu

Specifies the pop-up menu associated with the control. (Inherited from TClrCustomControl.)

ProductName

Gets the product name of the assembly containing the control. (Inherited from TClrCustomControl.)

ProductVersion

Gets the version of the assembly containing the control. (Inherited from TClrCustomControl.)

PropertySort

Gets or sets the type of sorting the TCnPropertyGrid uses to display properties.

PropertyTabs

Gets the collection of property tabs that are displayed in the grid.

Right

Gets the distance, in pixels, between the right edge of the control and the left edge of its container's client area. (Inherited from TClrCustomControl.)

ScrollableControl

Get the .Net ScrollableControl object as interface. (Inherited from TCnScrollableControl.)

SelectedClrObject

Gets or sets the object for which the grid displays properties.

SelectedControl

Gets or sets the control for which the grid displays properties.

SelectedGridItem

Gets or sets the selected grid item.

SelectedItemWithFocusBackColor

Gets or sets the background color of selected items that have the input focus.

SelectedItemWithFocusForeColor

Gets or sets the foreground color of selected items that have the input focus.

SelectedObject

Gets or sets the object for which the grid displays properties.

SelectedObjects

Gets or sets the currently selected objects.

SelectedTab

Gets the currently selected property tab.

Size

Gets or sets the height and width of the control. (Inherited from TClrCustomControl.)

TabOrder

Indicates the position of the control in its parent's tab order. (Inherited from TClrCustomControl.)

TabStop

Gets or sets a value indicating whether the user can give the focus to this control using the TAB key. (Inherited from TClrCustomControl.)

Text

Gets or sets the text associated with this control. (Inherited from TClrCustomControl.)

ToolbarVisible

Gets or sets a value indicating whether the toolbar is visible.

ToolTip

Associates ToolTip control with this control. (Inherited from TClrCustomControl.)

TooltipText

The ToolTip text to display when the pointer is on the control. (Inherited from TClrCustomControl.)

UseCompatibleTextRendering

Gets or sets a value that determines whether to use the Graphics class (GDI+) or the TextRenderer class (GDI) to render text.

UseWaitCursor

Gets or sets a value indicating whether to use the wait cursor for the current control and all child controls. (Inherited from TClrCustomControl.)

VerticalScroll


ViewBackColor

Gets or sets a value indicating the background color in the grid.

ViewBorderColor

Gets or sets the color of the border surrounding the grid area.

ViewForeColor

Gets or sets a value indicating the color of the text in the grid.

Visible

Gets or sets a value indicating whether the control and all its child controls are displayed. (Inherited from TClrCustomControl.)

Top
Show:
 NameDescription
AdjustSize

Adjusts the control's size according to its contents and constraints. (Inherited from TClrCustomControl.)

CanAutoSize(Integer,Integer)

Indicates how the control can be resized. (Inherited from TClrCustomControl.)

CanFocus

Indicates whether a control can receive focus. (Inherited from TClrCustomControl.)

CanResize(Integer,Integer)

Indicates how the control can respond to a resize attempt (Inherited from TClrCustomControl.)

ChangeScale(Integer,Integer)

Repositions and resizes the form by the ratio M/D, adjusting its client area and font size as needed. (Inherited from TClrCustomControl.)

CollapseAllGridItems

Collapses all the categories in the TCnPropertyGrid.

CreateControl

Forces the creation of the visible control, including the creation of the handle and any visible child controls. (Inherited from TClrCustomControl.)

CreateGraphics

Creates the Graphics for the control. (Inherited from TClrCustomControl.)

CreateHandle

Creates a handle for the control. (Inherited from TClrCustomControl.)

CreateParams(TCreateParams)

Initializes the window-creation parameter record when the form window is created. (Inherited from TClrCustomControl.)

DblClick

OnDblClick event dispatcher. (Inherited from TClrCustomControl.)

DoAddDockClient(TControl,TRect)

Performs actions when a control is docked to the windowed control. (Inherited from TClrCustomControl.)

DoBackColorChange(TObject)

Performs actions when a control BackColor changes. (Inherited from TClrCustomControl.)

DoBackgroundImageChange(TObject)

Performs actions when a control BackgroundImage changes. (Inherited from TClrCustomControl.)

DockOver(TDragDockObject,Integer,Integer,TDragState,Boolean)

Responds when a docking client is dragged over the windowed control. (Inherited from TClrCustomControl.)

DockReplaceDockClient(TControl,TWinControl,TControl,TAlign,TControl)

Invalidates the first dock site in the list of child controls. (Inherited from TClrCustomControl.)

DoDockOver(TDragDockObject,Integer,Integer,TDragState,Boolean)

Generates an OnDockOver event. (Inherited from TClrCustomControl.)

DoEnter

Respond to receiving input focus. (Inherited from TClrCustomControl.)

DoExit

Responds to losing input focus. (Inherited from TClrCustomControl.)

DoFontChange(TObject)

Performs actions when a control Font changes. (Inherited from TClrCustomControl.)

DoForeColorChange(TObject)

Performs actions when a control ForeColor changes. (Inherited from TClrCustomControl.)

DoGetContainerControl

Represents method DoGetContainerControl. (Overrides TCnContainerControl.DoGetContainerControl.)

DoGetControlClientRectangle

Gets the rectangle that represents the client area of the control. (Inherited from TClrCustomControl.)

DoGetDefaultBorderStyle

Gets the default border type of the control. (Inherited from TClrCustomControl.)

DoGetDotNetBaseControl

Gets the base .Net control. (Overrides TClrCustomControl.DoGetDotNetBaseControl.)

DoGetDotNetControlDefaultHeight

Gets the default height of the control. (Overrides TCnScrollableControl.DoGetDotNetControlDefaultHeight.)

DoGetDotNetControlDefaultWidth

Gets the default Width of the control. (Overrides TCnScrollableControl.DoGetDotNetControlDefaultWidth.)

DoGetDotNetControlHandle

Gets the window handle that the control is bound to. (Inherited from TClrCustomControl.)

DoGetScrollableControl

Represents method DoGetScrollableControl. (Overrides TCnScrollableControl.DoGetScrollableControl.)

DoInitializeDotNetControl

Creates and initializes the .Net control. (Inherited from TClrCustomControl.)

DoLocationChange(TObject)

Performs actions when a control Location changes. (Inherited from TClrCustomControl.)

DoMaximumSizeChange(TObject)

Performs actions when a control MaximumSize changes. (Inherited from TClrCustomControl.)

DoMinimumSizeChange(TObject)

Performs actions when a control MinimumSize changes. (Inherited from TClrCustomControl.)

DoMouseWheel(TShiftState,Integer,TPoint)

Processes mouse wheel motion. (Inherited from TClrCustomControl.)

DoMouseWheelDown(TShiftState,TPoint)

Is an OnMouseWheelDown event dispatcher. (Inherited from TClrCustomControl.)

DoMouseWheelUp(TShiftState,TPoint)

Is an OnMouseWheelUp event dispatcher. (Inherited from TClrCustomControl.)

DoOnAutoScrollMarginChange(TObject)

Represents method DoOnAutoScrollMarginChange(TObject). (Inherited from TCnScrollableControl.)

DoOnAutoScrollMinSizeChange(TObject)

Represents method DoOnAutoScrollMinSizeChange(TObject). (Inherited from TCnScrollableControl.)

DoOnAutoScrollPositionChange(TObject)

Represents method DoOnAutoScrollPositionChange(TObject). (Inherited from TCnScrollableControl.)

DoOnCategoryForeColorChanged(TObject)

Represents method DoOnCategoryForeColorChanged(TObject).

DoOnCategorySplitterColorChanged(TObject)

Represents method DoOnCategorySplitterColorChanged(TObject).

DoOnCommandsActiveLinkColorChanged(TObject)

Represents method DoOnCommandsActiveLinkColorChanged(TObject).

DoOnCommandsBackColorChanged(TObject)

Represents method DoOnCommandsBackColorChanged(TObject).

DoOnCommandsBorderColorChanged(TObject)

Represents method DoOnCommandsBorderColorChanged(TObject).

DoOnCommandsDisabledLinkColorChanged(TObject)

Represents method DoOnCommandsDisabledLinkColorChanged(TObject).

DoOnCommandsForeColorChanged(TObject)

Represents method DoOnCommandsForeColorChanged(TObject).

DoOnCommandsLinkColorChanged(TObject)

Represents method DoOnCommandsLinkColorChanged(TObject).

DoOnDisabledItemForeColorChanged(TObject)

Represents method DoOnDisabledItemForeColorChanged(TObject).

DoOnHelpBackColorChanged(TObject)

Represents method DoOnHelpBackColorChanged(TObject).

DoOnHelpBorderColorChanged(TObject)

Represents method DoOnHelpBorderColorChanged(TObject).

DoOnHelpForeColorChanged(TObject)

Represents method DoOnHelpForeColorChanged(TObject).

DoOnLineColorChanged(TObject)

Represents method DoOnLineColorChanged(TObject).

DoOnSelectedItemWithFocusBackColorChanged(TObject)

Represents method DoOnSelectedItemWithFocusBackColorChanged(TObject).

DoOnSelectedItemWithFocusForeColorChanged(TObject)

Represents method DoOnSelectedItemWithFocusForeColorChanged(TObject).

DoOnViewBackColorChanged(TObject)

Represents method DoOnViewBackColorChanged(TObject).

DoOnViewBorderColorChanged(TObject)

Represents method DoOnViewBorderColorChanged(TObject).

DoOnViewForeColorChanged(TObject)

Represents method DoOnViewForeColorChanged(TObject).

DoSetControlBorderStyle(TBorderStyle_)

Sets the border type of the control. (Inherited from TClrCustomControl.)

DoSetControlStyles(TControlStyles_Set,Boolean)

Set the style of the control. (Inherited from TClrCustomControl.)

DoSetDotNetControlParent

Specifies the parent of the control. (Inherited from TClrCustomControl.)

DoShowContextMenu(TPoint)

Represents method DoShowContextMenu(TPoint). (Inherited from TClrCustomControl.)

DoSizeChange(TObject)

Performs actions when a control Size changes. (Inherited from TClrCustomControl.)

DoSupportTextProperty

Check if the Text property is supported by the control. (Inherited from TClrCustomControl.)

DoUseClrContainer

Specify whether to use the common language runtime usercontrol container to host the .Net control. (Overrides TClrCustomControl.DoUseClrContainer.)

DrawToBitmap(TBitmap,TRect)

Supports rendering to the specified bitmap. (Inherited from TClrCustomControl.)

ExpandAllGridItems

Expands all the categories in the TCnPropertyGrid.

Focus

Sets input focus to the control. (Inherited from TClrCustomControl.)

Focused

Determines whether the control has input focus. (Inherited from TClrCustomControl.)

GetClrObject

Get the common language runtime object from the internal control interface. (Inherited from TClrCustomControl.)

Invalidate

Overloaded. Invalidates the entire surface of the control and causes the control to be redrawn. (Inherited from TClrCustomControl.)

Invalidate(Boolean)

Overloaded. Invalidates a specific region of the control and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control. (Inherited from TClrCustomControl.)

Invalidate(TRect)

Overloaded. Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. (Inherited from TClrCustomControl.)

Invalidate(TRect,Boolean)

Overloaded. Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control. (Inherited from TClrCustomControl.)

IsKeyLocked(TKeys_Set)

Determines whether the CAPS LOCK, NUM LOCK, or SCROLL LOCK key is in effect. (Inherited from TClrCustomControl.)

IsMnemonic(WCHAR,String)

Determines if the specified character is the mnemonic character assigned to the control in the specified string. (Inherited from TClrCustomControl.)

KeyDown(Word,TShiftState)

Responds to key press events. (Inherited from TClrCustomControl.)

KeyPress(Char)

Responds to keyboard input. (Inherited from TClrCustomControl.)

KeyUp(Word,TShiftState)

Respond to released key. (Inherited from TClrCustomControl.)

MouseDown(TMouseButton,TShiftState,Integer,Integer)

OnMouseDown event dispatcher. (Inherited from TClrCustomControl.)

MouseMove(TShiftState,Integer,Integer)

Responds to mouse moving over control area. (Inherited from TClrCustomControl.)

MouseUp(TMouseButton,TShiftState,Integer,Integer)

Is an OnMouseUp event dispatcher. (Inherited from TClrCustomControl.)

Notification(TComponent,TOperation)

Represents method Notification(TComponent,TOperation). (Overrides TClrCustomControl.Notification(TComponent,TOperation).)

Paint

Renders the image of a windowed control. (Inherited from TClrCustomControl.)

PerformAutoScale

Represents method PerformAutoScale.

PerformLayout

Overloaded. Forces the control to apply layout logic to all its child controls. (Inherited from TClrCustomControl.)

PropertyChanged

Responds to change in the published properties of the control. (Inherited from TClrCustomControl.)

QueryInterface(TGUID,Void)

Returns a reference to a specified interface if that interface is supported by the control. (Inherited from TClrCustomControl.)

Refresh

Forces the control to invalidate its client area and immediately redraw itself and any child controls. (Inherited from TClrCustomControl.)

RefreshTabs(TPropertyTabScope)

Refreshes the property tabs of the specified scope.

RegisterEventCallBack(ClrWString,Pointer)

Add an event to the instance using the specified event name and function pointer which is the event handler. The RegisterEventCallBack method does not directly add the event handler to the event. A hooking mechanism is used such that if the event is fired, the hook event is also fired which in turn calls the function pointer. (Inherited from TClrCustomControl.)

RegisterEventSource

Register the Delphi object which will raise the .Net event handler. (Inherited from TClrCustomControl.)

Repaint

Repaints the entire control. (Inherited from TClrCustomControl.)

ResetBackColor

Resets the BackColor property to its default value. (Inherited from TClrCustomControl.)

ResetBindings

Causes a control bound to the BindingSource to reread all the items in the list and refresh their displayed values (Inherited from TClrCustomControl.)

ResetCursor

Resets the Cursor property to its default value. (Inherited from TClrCustomControl.)

ResetFont

Resets the Font property to its default value. (Inherited from TClrCustomControl.)

ResetSelectedProperty

Resets the selected property to its default value.

ResumeLayout

Overloaded. Resumes usual layout logic. (Inherited from TClrCustomControl.)

ResumeLayout(Boolean)

Overloaded. Resumes usual layout logic, optionally forcing an immediate layout of pending layout requests. (Inherited from TClrCustomControl.)

Scale(TSizeF)

Scales the control and all child controls by the specified scaling factor. (Inherited from TClrCustomControl.)

ScrollControlIntoView(TClrCustomControl)

Scrolls the specified child control into view on an auto-scroll enabled control. (Inherited from TCnScrollableControl.)

Select

Activates a control. (Inherited from TClrCustomControl.)

SetAutoScrollMargin(Integer,Integer)

Sets the size of the auto-scroll margins. (Inherited from TCnScrollableControl.)

SetAutoSize(Boolean)

Sets the value of the AutoSize property. (Inherited from TClrCustomControl.)

SetBorderStyle(TBorderStyle)

Sets the value of the BorderStyle property. (Inherited from TClrCustomControl.)

SetBounds(Integer,Integer,Integer,Integer)

Sets the windowed control's boundary properties all at once. (Inherited from TClrCustomControl.)

SetName(TComponentName)

Sets the name of the control. (Inherited from TClrCustomControl.)

SetText(String)

Sets the text of the control. (Inherited from TClrCustomControl.)

SuspendLayout

Temporarily suspends the layout logic for the control. (Inherited from TClrCustomControl.)

UnRegisterEventCallBack(ClrWString,Pointer)

Remove an event from the instance using the specified event name and function pointer which is the event handler. (Inherited from TClrCustomControl.)

UnRegisterEventSource

Represents method UnRegisterEventSource. (Inherited from TClrCustomControl.)

Update

Causes the control to redraw the invalidated regions within its client area. (Inherited from TClrCustomControl.)

UpdateDotNetControlSize

Updates .Net control size. (Inherited from TClrCustomControl.)

UpdateStyleElements

Invalidates a specific region of the control and causes a paint message to be sent to the control. (Inherited from TClrCustomControl.)

Validate

Overloaded. Verifies the value of the control losing focus by causing the Validating and Validated events to occur, in that order. (Inherited from TCnContainerControl.)

Validate(Boolean)

Overloaded. Verifies the value of the control that is losing focus; conditionally dependent on whether automatic validation is turned on. (Inherited from TCnContainerControl.)

ValidateChildren

Overloaded. Causes all of the child controls within a control that support validation to validate their data. (Inherited from TCnContainerControl.)

ValidateChildren(TValidationConstraints_Set)

Overloaded. Causes all of the child controls within a control that support validation to validate their data. (Inherited from TCnContainerControl.)

WndProc(TMessage)

Provides specific message responses for the control. (Inherited from TClrCustomControl.)

_AddRef

Called when an application uses a component interface. (Inherited from TClrCustomControl.)

_Release

Called when an application releases a component interface. (Inherited from TClrCustomControl.)

Top
Show:
 NameDescription
OnBackgroundImageChanged

Occurs when the value of the BackgroundImage property changes. (Inherited from TClrCustomControl.)

OnCausesValidationChanged

Occurs when the value of the CausesValidation property changes. (Inherited from TClrCustomControl.)

OnClientSizeChanged

Occurs when the value of the ClientSize property changes. (Inherited from TClrCustomControl.)

OnEnabledChanged

Occurs when the Enabled property value has changed. (Inherited from TClrCustomControl.)

OnForeColorChanged

Occurs when the ForeColor property value changes. (Inherited from TClrCustomControl.)

OnGotFocus

Occurs when the control receives focus. (Inherited from TClrCustomControl.)

OnInvalidated

Occurs when a control's display requires redrawing. (Inherited from TClrCustomControl.)

OnKeyDown

Occurs when a key is pressed while the control has focus. (Inherited from TClrCustomControl.)

OnKeyPress

Occurs when a character. space or backspace key is pressed while the control has focus. (Inherited from TClrCustomControl.)

OnKeyUp

Occurs when a key is released while the control has focus. (Inherited from TClrCustomControl.)

OnLeave

Occurs when the input focus leaves the control. (Inherited from TClrCustomControl.)

OnLostFocus

Occurs when the control loses focus. (Inherited from TClrCustomControl.)

OnMouseDown

Occurs when the mouse pointer is over the control and a mouse button is pressed. (Inherited from TClrCustomControl.)

OnMouseEnter

Occurs when the mouse pointer enters the control. (Inherited from TClrCustomControl.)

OnMouseLeave

Occurs when the mouse pointer leaves the control. (Inherited from TClrCustomControl.)

OnMouseMove

Occurs when the mouse pointer is moved over the control. (Inherited from TClrCustomControl.)

OnMouseUp

Occurs when the mouse pointer is over the control and a mouse button is released. (Inherited from TClrCustomControl.)

OnMouseWheel

Occurs when the mouse wheel moves while the control has focus. (Inherited from TClrCustomControl.)

OnMove

Occurs when the control is moved. (Inherited from TClrCustomControl.)

OnPreviewKeyDown

Occurs before the OnKeyDown event when a key is pressed while focus is on this control. (Inherited from TClrCustomControl.)

OnPropertySortChanged

Occurs when the sort mode is changed.

OnPropertyTabChanged

Occurs when a property tab changes.

OnPropertyValueChanged

Occurs when a property value changes.

OnResize

Occurs when the control is resized. (Inherited from TClrCustomControl.)

OnSelectedGridItemChanged

Occurs when the selected GridItem is changed.

OnSelectedObjectsChanged

Occurs when the objects selected by the SelectedObjects property have changed.

OnSizeChanged

Occurs when the Size property value changes. (Inherited from TClrCustomControl.)

OnSystemColorsChanged

Occurs when the system colors change. (Inherited from TClrCustomControl.)

OnTabIndexChanged

Occurs when the TabOrder/TabIndex property value changes. (Inherited from TClrCustomControl.)

OnTabStopChanged

Occurs when the TabStop property value changes. (Inherited from TClrCustomControl.)

OnTextChanged

Occurs when the Text property value changes. (Inherited from TClrCustomControl.)

OnValidated

Occurs when the control is finished validating. (Inherited from TClrCustomControl.)

OnValidating

Occurs when the control is validating. (Inherited from TClrCustomControl.)

OnVisibleChanged

Occurs when the Visible property value changes. (Inherited from TClrCustomControl.)

Top

To use the property grid, you create a new instance of the TCnPropertyGrid component on a parent control and set SelectedObject to the object to display the properties for.

The information displayed in the grid is a snapshot of the properties at the time the object is assigned. If a property value of the object specified by the SelectedObject is changed in code at run time, the new value is not displayed until an action is taken in the grid that causes the grid to refresh.

The property tabs within the property grid appear as buttons on the toolbar at the top of the TCnPropertyGrid , and can vary in scope as defined in the CNClrLib.Control.EnumTypes.TPropertyTabScope .

All public properties of the SelectedObject will be displayed in the TCnPropertyGrid by default.

See C:\Users\Public\Documents\CrystalNet Technologies\.Net VCL for Delphi Demo Folder after installation for examples of how to use this control.