Skip to main content
A newer version of this page is available. .

RepositoryItem Members

Serves as the base for all repository items.

Constructors

Name Description
RepositoryItem() Creates a new RepositoryItem object.

Properties

Name Description
AccessibleDefaultActionDescription Gets or sets the default action description of the repository item for use by accessibility client applications.
AccessibleDescription Gets or sets the description of the repository item used by accessibility client applications.
AccessibleName Gets or sets the repository item’s name which is used by accessibility client applications.
AccessibleRole Gets or sets the repository item’s accessible role.
AllowFocused Gets or sets a value specifying whether the focus rectangle is displayed within the editor when it has focus.
AllowFocusedAppearance Gets a value which indicates whether the appearance settings used to paint the editor when it’s focused can be used.
AllowHtmlDraw Gets or sets whether HTML tags can be used to format an editor’s text or text of the editor’s items.
AllowInplaceAutoFilter This member supports the internal infrastructure, and is not intended to be used directly from your code.
AllowInplaceBorderPainter This member supports the internal infrastructure, and is not intended to be used directly from your code.
AllowMouseWheel Gets or sets whether value scrolling via the Mouse Wheel is supported by the editor.
Appearance Gets the appearance settings used to paint the editor when it’s enabled.
AppearanceDisabled Gets the appearance settings used to paint the editor when it’s disabled.
AppearanceFocused Gets the appearance settings used to paint the current editor when it’s focused.
AppearanceReadOnly Gets the appearance settings used to paint the read-only editor.
AutoHeight Gets or sets a value specifying whether the editor’s height is calculated automatically to fit the editor’s content.
BestFitWidth Gets or sets the editor’s best fit width.
BorderStyle Gets or sets the editor’s border style.
CanRaiseEvents protected Gets a value indicating whether the component can raise an event. Inherited from Component.
Container Gets the IContainer that contains the Component. Inherited from Component.
ContextMenu Gets or sets the context menu for the editor.
ContextMenuStrip Gets or sets the shortcut menu for the editor.
DefaultAlignment Gets the default horizontal alignment of the editor’s content.
DefaultBorderStyleInBars This member supports the internal infrastructure, and is not intended to be used directly from your code.
DefaultBorderStyleInGrid This member supports the internal infrastructure, and is not intended to be used directly from your code.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
DisplayFormat Provides access to the format settings applied to the editor’s display text. These settings are in effect when the editor does not have input focus.
Editable Gets whether the editor’s value can be changed.
EditFormat Provides access to the settings used to format the edit value when the editor has input focus.
EditorTypeName Gets the class name of the editor corresponding to the repository item.
EditValueChangedDelay Gets or sets the time interval between the moment when an end-user stops changing the editor’s value and the RepositoryItem.EditValueChanged event being raised.
EditValueChangedFiringDelay static Gets or sets the default time interval between the moment when an end-user stops changing the editor’s value and the RepositoryItem.EditValueChanged event being raised.
EditValueChangedFiringMode Gets or sets the RepositoryItem.EditValueChanged event’s firing mode.
Enabled Gets or sets a value indicating whether the edit control can respond to user actions. This property is supported for standalone editors.
Events protected Gets the list of event handlers that are attached to this Component. Inherited from Component.
ExportMode Specifies whether the editor’s value or display text is exported when data is exported to XLS and CSV formats.
HtmlImages Gets or sets a collection of images that can be embedded in the editor’s display text or the display text of the editor’s items, using the image tag.
IsDesignMode Indicates whether the editor is currently in design mode.
IsDisposed Gets a value indicating whether the control has been disposed of.
IsEditValueChangedEventPending Gets whether the EditValueChanged event is postponed.
IsFilterLookUp This member supports the internal infrastructure, and is not intended to be used directly from your code.
IsLoading Indicates whether the editor is being loaded.
IsLockUpdate Gets a value indicating whether the editor is immediately updated in response to changing its settings.
IsNonSortableEditor This member supports the internal infrastructure, and is not intended to be used directly from your code.
LinkCount Gets the number of objects connected to the current repository item.
LookAndFeel Provides access to the stand-alone editor’s look and feel settings. These settings are not in effect for the editor in a bar, ribbon, grid, etc.
Name Gets or sets the repository item name.
NormalizeDisplayText static Set the NormalizeDisplayText property to true to correctly process diacritics when selecting rows from a dropdown window in the LookUpEdit control.
NullText Gets or sets the text that presents the editor’s null value (null, System.DBNull.Value and RepositoryItemDateEdit.NullDate - for DateEdit).
OwnerEdit Gets the editor that owns the repository item.
OwnerItem This member supports the internal infrastructure, and is not intended to be used directly from your code.
PopupOffset Gets or sets the popup window’s location.
Properties Obsolete. Gets an object providing properties specific to all editors that can be used inplace within a container control.
ReadOnly Gets or sets a value specifying whether the editor’s value can be changed by end-users.
RequireDisplayTextSorting This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Site Gets or sets a ISite for the object.
Tag Gets or sets the data associated with the repository item.
UseParentBackground This member supports the internal infrastructure, and is not intended to be used directly from your code.
UseTextEditorForAutoFilter Gets whether to substitute this editor with the single-line text editor in auto-filter rows.

Methods

Name Description
Assign(RepositoryItem) Copies settings from the repository item specified as a parameter.
BeginInit() Notifies the editor that the initialization has been started.
BeginUpdate() Locks the RepositoryItem object by disallowing visual updates until the EndUpdate or CancelUpdate method is called.
CancelUpdate() Unlocks the RepositoryItem object after it has been locked by the BeginUpdate method, without causing an immediate visual update.
Clone() Creates a copy of the current repository item.
Connect(Object) Connects the repository item to the specified object.
CreateEditor() Creates an editor whose type corresponds to the repository item’s type.
CreateGroupPainter() Initializes a new instance of the DevExpress.XtraEditors.Drawing.BaseEditorGroupRowPainter class.
CreateObjRef(Type) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. Inherited from MarshalByRefObject.
CreatePainter() This member supports the editor library’s internal infrastructure and is not intended to be used in your applications.
CreateViewInfo() This member supports the editors library’s internal infrastructure and is not intended to be used in your applications.
Disconnect(Object) Removes the connection between the repository item and the specified object.
Dispose() Releases all resources used by the Component. Inherited from Component.
EndInit() Notifies the editor that the initialization has been completed.
EndUpdate() Unlocks the RepositoryItem object after a call to the BeginUpdate method and causes an immediate visual update.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetBorderSides(Boolean, Boolean) static This member supports the internal infrastructure, and is not intended to be used directly from your code.
GetBrick(PrintCellHelperInfo) Returns a brick object that contains information on how the current editor should be printed.
GetDisplayText(FormatInfo, Object) Returns the text representation of the specified value, formatted according to the specified settings.
GetDisplayText(Object) Returns the text representation of the specified value formatted using the editor’s settings.
GetEditorType() This member supports the internal infrastructure, and is not intended to be used directly from your code.
GetEditValueForExportByOptions(Object, Object, Object, Object, Function3<String, Object, Object, Object>, ExportTarget) This member supports the internal infrastructure, and is not intended to be used directly from your code.
GetHashCode() Returns a hash code.
GetLifetimeService() Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetNormalizedText(String) static This member supports the internal infrastructure, and is not intended to be used directly from your code.
GetService(Type) protected Returns an object that represents a service provided by the Component or by its Container. Inherited from Component.
GetType() Gets the Type of the current instance. Inherited from Object.
InitializeLifetimeService() Obtains a lifetime service object to control the lifetime policy for this instance. Inherited from MarshalByRefObject.
IsActivateKey(Keys) Indicates whether a particular key can activate the editor used as an inplace control.
IsLockDefaultImmediateUpdateRowPosition() This member supports the internal infrastructure, and is not intended to be used directly from your code.
IsNeededKey(Keys) Indicates whether the key is handled by the editor or the container control.
LockEvents() This method supports the .NET framework infrastructure and is not intended to be called from your code.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protected Creates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ResetEvents() This member supports the .NET Framework infrastructure and is not intended to be used in your applications.
ScaleProperties(ScaleHelper) Updates the RepositoryItem according to current scale settings. This method is called automatically when the form’s runtime DPI settings differ from those in design-time.
SetCloned() This member supports the internal infrastructure, and is not intended to be used directly from your code.
ToString() Returns a string that represents the current object.
UnLockEvents() This method supports the .NET framework infrastructure and is not intended to be called from your code.

Events

Name Description
Click Fires when clicking the editor.
CustomDisplayText Enables custom display text to be provided for an editor.
Disposed Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
DoubleClick Fires when the editor is double clicked.
DragDrop Fires when an object is dropped onto the editor.
DragEnter Fires when a dragged object enters the editor’s area.
DragLeave Fires when a dragged object leaves the editor’s area.
DragOver Fires repeatedly when dragging an object over the editor.
EditValueChanged Fires when the editor’s BaseEdit.EditValue property changes.
EditValueChanging Fires when the editor’s value is about to be changed.
Enter Fires when the editor receives focus.
FormatEditValue Enables you to format the editor’s value (change the editor’s value when the formatting mechanism is invoked).
GiveFeedback Enables you to specify the cursor appearance when dragging this editor’s data.
HelpRequested Fires when the end-user requests help for the editor.
KeyDown Fires when a key is pressed while the editor has focus.
KeyPress Fires when a character key is pressed while the editor has focus.
KeyUp Fires when a key is released while the editor has focus.
Leave Fires when the editor loses focus.
Modified Fires when the edit value is first changed since it was last validated.
MouseDown Fires when a mouse button is pressed while the mouse pointer is over the editor.
MouseEnter Fires when the mouse pointer enters the editor’s area.
MouseHover Fires when hot-tracking an editor element.
MouseLeave Fires when the mouse pointer leaves the editor’s area.
MouseMove Fires when the mouse pointer moves over the editor’s area.
MouseUp Fires when the mouse button is released while the mouse pointer is over the editor.
MouseWheel Fires when the mouse wheel moves while the mouse pointer is within the editor.
ParseEditValue Converts an input value (entered by a user or assigned in code) to the value that the editor will store.
PropertiesChanged Fires immediately after a change to one of the editor’s properties.
QueryAccessibilityHelp Fires when the help is provided to accessibility applications.
QueryContinueDrag Fires when dragging the editor’s data allowing you to specify whether dragging should be continued.
QueryProcessKey Provides the capability to specify whether the key pressed in the editor is processed by the editor or a container control (GridControl, TreeList, etc.) that displays this editor.
Validating Allows you to specify whether the edit value is valid. This event does not occur if the editor’s CausesValidation property is disabled.
See Also