In This Article

IBarGalleryItemViewModel Interface

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

public interface IBarGalleryItemViewModel : IEquatable<IBarGalleryItemViewModel>, IHasTag

Properties

Category

The item's category.

string? Category { get; set; }

Property Value

string

Description

The text description to display in screen tips.

string? Description { get; set; }

Property Value

string

ImageSource

The image to display, if the item's template supports an image.

ImageSource? ImageSource { get; set; }

Property Value

ImageSource

IsLabelVisible

Indicates whether the Label is visible.

bool IsLabelVisible { get; }

Property Value

bool:

true if the Label is visible; otherwise, false.

IsVisible

Indicates whether the control is currently visible.

bool IsVisible { get; }

Property Value

bool

KeyTipText

The key tip text used to access the control.

string? KeyTipText { get; set; }

Property Value

string

Label

The text label to display.

string? Label { get; set; }

Property Value

string

LayoutBehavior

A BarGalleryItemLayoutBehavior indicating how the gallery item should be visually displayed.

BarGalleryItemLayoutBehavior LayoutBehavior { get; }

Property Value

BarGalleryItemLayoutBehavior:

The default value is Default.

Value

The value associated with this view model.

object? Value { get; set; }

Property Value

object:

An object.

Inherited Members

Extension Methods