InfoBarButton 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示 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) |