GalleryItem Members
Represents an item within a gallery.Constructors
| Name | Description |
|---|---|
| GalleryItem() | Initializes a new instance of the GalleryItem class with the default settings. |
| GalleryItem(GalleryItem) | Initializes a new instance of the GalleryItem class with the values of the specified source gallery item. |
| GalleryItem(Image, Image, String, String, Int32, Int32, Object, String, Boolean, Boolean) | Initializes a new instance of the GalleryItem class with the specified settings. |
| GalleryItem(Image, Image, String, String, Int32, Int32, Object, String, Boolean) | Initializes a new instance of the GalleryItem class with the specified settings. |
| GalleryItem(Image, Image, String, String, Int32, Int32, Object, String) | Initializes a new instance of the GalleryItem class with the specified settings. |
| GalleryItem(Image, String, String) | Initializes a new instance of the GalleryItem class with the specified image, caption and description. |
Properties
| Name | Description |
|---|---|
| AccessibleDescription | Gets or sets the object’s description used by accessibility client applications. |
| AccessibleName | Gets or sets the object’s name used by accessibility client applications. |
| AccessibleRole | Gets or sets the object’s accessible role. |
| AppearanceCaption | Provides access to the appearance settings used to paint this GalleryItem‘s caption. |
| AppearanceDescription | Provides access to the appearance settings used to paint this GalleryItem‘s descritpion. |
| Caption | Gets or sets the item’s caption. |
| Checked | Gets or sets whether the item is checked. |
| Command |
Gets or sets the ICommand whose Execute(Object) method will be called when the Click event is invoked.
|
| CommandParameter |
Gets or sets the parameter that is passed to the command specified by the Command property.
|
| Description | Gets or sets the item’s description. |
| Enabled | Gets or sets whether the current GalleryItem is enabled. |
| Gallery | Gets the gallery which owns the current item. |
| GalleryGroup | Gets a gallery group which is the owner of the current item. |
| Hint | Gets a hint associated with the gallery item. |
| HoverImage |
Gets or sets the item’s hover image. This property is obsolete. Use the GalleryItem.ImageOptions.HoverImage property instead.
|
| HoverImageIndex |
Gets or sets the index of the hover image assigned to the gallery item. This property is obsolete. Use the GalleryItem.ImageOptions.HoverImageIndex property instead.
|
| HoverImages | Gets the collection of hover images that can be used by the current item. This property is obsolete. Use the BaseGallery.HoverImages property instead. |
| Image |
Gets or sets the item’s image. This property is obsolete. Use the GalleryItem.ImageOptions.Image property instead.
|
| ImageIndex |
Gets or sets the index of the image assigned to the gallery item. This property is obsolete. Use the GalleryItem.ImageOptions.ImageIndex property instead.
|
| ImageOptions | Provides access to properties that allow you to set up raster and vector images for this GalleryItem. |
| Images | Gets the collection of images that can be displayed within the current item. |
| ImageUri |
Gets or sets the uniform resource identifier of the image in the DX Image Gallery displayed in the current item.
A specific version of the addressed image is automatically chosen based on the app context (the current skin and required image size). This property is obsolete. Use the |
| OriginItem | Gets the item that was used as a source when the current item was created. |
| SuperTip | Gets or sets a SuperToolTip for the current bar item. |
| Tag | Gets or sets an object that contains data on the current GalleryItem object. |
| Value | Gets or sets the GalleryItem‘s value. |
| Visible | Gets or sets whether the gallery item is visible. |
Methods
| Name | Description |
|---|---|
| Assign(GalleryItem) | Copies settings from the specified object to the current object. |
| BindCommand(Expression<Action>, Object, Func<Object>) | Uses the command selector to find an appropriate parameterized command in the source and bind it to this GalleryItem. |
| BindCommand(Object, Func<Object>) | Binds the specific parameterized command to this GalleryItem. |
| 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 GalleryItem. |
| Clone() | Creates a new GalleryItem object with the settings matching those of the current object. |
| 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. |
| Focus() | Focuses this GalleryItem. |
| GetHashCode() | Serves as the default hash function. Inherited from Object. |
| GetType() | Gets the Type of the current instance. Inherited from Object. |
| MakeVisible() | Makes the current gallery item visible onscreen, if it’s hidden due to scrolling. |
| MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
| ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
| ResetSuperTip() | Removes the GalleryItem.SuperTip object that has been assigned to the current gallery item. |
| ToString() | Returns a string that represents the current object. Inherited from Object. |
Events
| Name | Description |
|---|---|
| CommandCanExecuteChanged | Occurs when the CanExecute(Object) status of the Command has changed. |
| CommandChanged | Occurs after the value of the Command property has changed. |
| CommandParameterChanged | Occurs after the value of the CommandParameter property has changed. |
| ItemClick | Occurs each time an end-user clicks the GalleryItem. |
See Also