In This Article

IBarGalleryItemViewModel Interface

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

public interface IBarGalleryItemViewModel : IEquatable<IBarGalleryItemViewModel>

Properties

Category

Gets or sets the item's category.

string Category { get; set; }

Property Value

string:

The item's category.

Description

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

string Description { get; set; }

Property Value

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

ImageSource:

An ImageSource for the image.

IsLabelVisible

Gets whether the Label is visible.

bool IsLabelVisible { get; }

Property Value

bool:

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

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

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

object:

An object.

Inherited Members