Compartilhar via


InfoBarModel Class

Definition

Creates a data model implementing IVsInfoBar, for use with IVsInfoBarUIFactory.CreateInfoBar.

public ref class InfoBarModel : Microsoft::VisualStudio::Shell::Interop::IVsInfoBar
[Windows::Foundation::Metadata::WebHostHidden]
class InfoBarModel : Microsoft::VisualStudio::Shell::Interop::IVsInfoBar
public class InfoBarModel : Microsoft.VisualStudio.Shell.Interop.IVsInfoBar
type InfoBarModel = class
    interface IVsInfoBar
Public Class InfoBarModel
Implements IVsInfoBar
Inheritance
InfoBarModel
Implements

Constructors

InfoBarModel(IEnumerable<IVsInfoBarTextSpan>, IEnumerable<IVsInfoBarActionItem>, ImageMoniker, Boolean)

Constructs an info bar with a message involving formatted text and a separate panel of action buttons or links.

InfoBarModel(IEnumerable<IVsInfoBarTextSpan>, ImageMoniker, Boolean)

Constructs an info bar with a message involving formatted text.

InfoBarModel(String, IEnumerable<IVsInfoBarActionItem>, ImageMoniker, Boolean)

Constructs an info bar with a simple message and a separate panel of action buttons or links.

InfoBarModel(String, ImageMoniker, Boolean)

Constructs an info bar with a simple message.

Properties

ActionItems

Gets the collection of buttons or links to display.

Image

Gets the moniker for the image to display in the info bar.

IsCloseButtonVisible

Gets whether or not the info bar can be closed by the user.

TextSpans

Gets the message to display in the info bar.

Applies to