Partager via


InfoBarActionItem Class

Definition

Represents a button or hyperlink inside an InfoBarModel's text spans or action items.

public ref class InfoBarActionItem abstract : Microsoft::VisualStudio::Shell::InfoBarTextSpan, Microsoft::VisualStudio::Shell::Interop::IVsInfoBarActionItem
[Windows::Foundation::Metadata::WebHostHidden]
public ref class InfoBarActionItem abstract : Microsoft::VisualStudio::Shell::InfoBarTextSpan, Microsoft::VisualStudio::Shell::Interop::IVsInfoBarActionItem
[Windows::Foundation::Metadata::WebHostHidden]
class InfoBarActionItem abstract : Microsoft::VisualStudio::Shell::InfoBarTextSpan, Microsoft::VisualStudio::Shell::Interop::IVsInfoBarActionItem
public abstract class InfoBarActionItem : Microsoft.VisualStudio.Shell.InfoBarTextSpan, Microsoft.VisualStudio.Shell.Interop.IVsInfoBarActionItem
type InfoBarActionItem = class
    inherit InfoBarTextSpan
    interface IVsInfoBarActionItem
    interface IVsInfoBarTextSpan
Public MustInherit Class InfoBarActionItem
Inherits InfoBarTextSpan
Implements IVsInfoBarActionItem
Inheritance
InfoBarActionItem
Derived
Implements

Constructors

InfoBarActionItem(String, Object)

Creates a new action item with optional formatting options.

Properties

ActionContext

Gets the context associated with this action item, used to identify the action when it's invoked.

Bold

Gets whether or not the span of text should be bolded.

(Inherited from InfoBarTextSpan)
IsButton

Gets whether or not this action item should be rendered as a button. Action items can only be rendered as a button when placed in the ActionItems collection of the InfoBarModel.

Italic

Gets whether or not the span of text should be italicized.

(Inherited from InfoBarTextSpan)
Text

Gets the text for the span.

(Inherited from InfoBarTextSpan)
Underline

Gets whether or not the span of text should be underlined.

(Inherited from InfoBarTextSpan)

Applies to