InfoBarButton 类

定义

表示 InfoBarModel 的 ActionItems 集合中的按钮。

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
继承

构造函数

InfoBarButton(String, Object)

创建具有可选格式设置选项的新按钮。

属性

ActionContext (继承自 InfoBarActionItem)
Bold

确定文本跨距是否应为粗体。

(继承自 InfoBarTextSpan)
IsButton
Italic

确定文本跨距是否应倾斜。

(继承自 InfoBarTextSpan)
Text

获取范围的文本。

(继承自 InfoBarTextSpan)
Underline

确定文本跨距是否应带有下划线。

(继承自 InfoBarTextSpan)

适用于