Share via


InfoBarButton Class

Definition

Represents a button inside an InfoBarModel's ActionItems collection.

public ref class InfoBarButton : Microsoft::VisualStudio::Shell::InfoBarActionItem
[Windows::Foundation::Metadata::WebHostHidden]
class InfoBarButton : Microsoft::VisualStudio::Shell::InfoBarActionItem
public class InfoBarButton : Microsoft.VisualStudio.Shell.InfoBarActionItem
type InfoBarButton = class
    inherit InfoBarActionItem
Public Class InfoBarButton
Inherits InfoBarActionItem
Inheritance

Constructors

InfoBarButton(String, Object)

Creates a new button with optional formatting options.

Properties

ActionContext

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

(Inherited from InfoBarActionItem)
Bold

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

(Inherited from InfoBarTextSpan)
IsButton
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