In This Article

IBarGalleryItemViewModel Interface

Represents a view model for a gallery item within a bar gallery control.

public interface IBarGalleryItemViewModel : INotifyPropertyChanged, IEquatable<IBarGalleryItemViewModel>

Properties

Category

Gets or sets the item's category.

string Category { get; set; }

Property Value

System.String:

The item's category.

Description

Gets or sets the text description to display in screen tips.

string Description { get; set; }

Property Value

System.String:

The text description to display in screen tips.

ImageSource

Gets or sets the image to display, if the item's template supports an image.

ImageSource ImageSource { get; set; }

Property Value

System.Windows.Media.ImageSource:

An System.Windows.Media.ImageSource for the image.

IsLabelVisible

Gets whether the Label is visible.

bool IsLabelVisible { get; }

Property Value

System.Boolean:

true if the Label is visible; otherwise, false.

KeyTipText

Gets or sets the key tip text used to access the control.

string KeyTipText { get; set; }

Property Value

System.String:

The key tip text used to access the control.

Label

Gets or sets the text label to display.

string Label { get; set; }

Property Value

System.String:

The text label to display.

LayoutBehavior

Gets or sets a BarGalleryItemLayoutBehavior indicating how the gallery item should be visually displayed.

BarGalleryItemLayoutBehavior LayoutBehavior { get; }

Property Value

BarGalleryItemLayoutBehavior:

A BarGalleryItemLayoutBehavior indicating how the gallery item should be visually displayed. The default value is Default.

Value

Gets or sets the value associated with this view model.

object Value { get; set; }

Property Value

System.Object:

An object.

Inherited Members

  • System.IEquatable<ActiproSoftware.Windows.Controls.Bars.Mvvm.IBarGalleryItemViewModel>.Equals(ActiproSoftware.Windows.Controls.Bars.Mvvm.IBarGalleryItemViewModel)