Back to Devexpress

RecentItemBase Members

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-recentitembase-dot-underscore-members.md

latest13.6 KB
Original Source

RecentItemBase Members

A base class for all UI elements in the RecentItemControl.

Constructors

NameDescription
RecentItemBase()Initializes a new instance of the RecentItemBase class with the default settings.
RecentItemBase(RecentPanelBase)Initializes a new instance of the RecentItemBase class with the specified settings.

Properties

NameDescription
AccessibleDescriptionGets or sets the object’s description used by accessibility client applications.
AccessibleNameGets or sets the object’s name used by accessibility client applications.
AccessibleRoleGets or sets the object’s accessible role.
CanRaiseEvents protectedGets a value indicating whether the component can raise an event. Inherited from Component.
CommandGets or sets the ICommand whose Execute(Object) method will be called when the Click event is invoked.
CommandParameterGets or sets the parameter that is passed to the command specified by the Command property.
ContainerGets the IContainer that contains the Component. Inherited from Component.
DesignMode protectedGets a value that indicates whether the Component is currently in design mode. Inherited from Component.
Events protectedGets the list of event handlers that are attached to this Component. Inherited from Component.
IsInContentPanelReturns whether or not this item belongs to a content panel of a parent Recent Item Control.
IsInMainPanelReturns whether or not this item belongs to a main panel of a parent Recent Item Control.
MarginGets or sets margins for this panel.
NameGets or sets this item’s name.
OwnerPanelReturns the panel that owns this RecentItemBase.
PaddingGets or sets the distance between the item content and this item’s borders.
RecentControlGets the parent RecentItemControl that owns this RecentItemBase.
SiteGets or sets the ISite of the Component. Inherited from Component.
SuperTipGets or sets a super tip displayed by this item on hover.
TagGets or sets custom data associated with the current RecentItemBase.
VisibleGets or sets whether or not this item is visible.

Methods

NameDescription
BindCommand(Expression<Action>, Object, Func<Object>)Uses the command selector to find an appropriate parameterized command in the source and bind it to this RecentItemBase class descendant.
BindCommand(Object, Func<Object>)Binds the specific parameterized command to this RecentItemBase class descendant.
BindCommand<T>(Expression<Action<T>>, Object, Func<T>)Uses the command selector to find an appropriate parameterized command of the target type in the source and bind it to this RecentItemBase class descendant.
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.
Dispose()Releases all resources used by the Component. Inherited from Component.
Equals(Object, Object) staticDetermines 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.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetLifetimeService()Retrieves the current lifetime service object that controls the lifetime policy for this instance. Inherited from MarshalByRefObject.
GetService(Type) protectedReturns 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.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
MemberwiseClone(Boolean) protectedCreates a shallow copy of the current MarshalByRefObject object. Inherited from MarshalByRefObject.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
ResetSuperTip()Resets a super tip assigned to this Recent Item Control‘s item.
SetPanel(RecentPanelBase)Explicitly sets the RecentPanelBase object that will own this RecentItemBase.
ToString()Returns a String containing the name of the Component, if any. This method should not be overridden. Inherited from Component.

Events

NameDescription
CommandCanExecuteChangedOccurs when the CanExecute(Object) status of the Command has changed.
CommandChangedOccurs after the value of the Command property has changed.
CommandParameterChangedOccurs after the value of the CommandParameter property has changed.
DisposedOccurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
ItemClickOccurs whenever an end-user clicks this item at runtime.
ItemPressedOccurs when an end-user presses this item at runtime.

See Also

RecentItemBase Class

DevExpress.XtraBars.Ribbon Namespace