ThumbButtonInfo.IsBackgroundVisible 属性

获取或设置一个值,该值指示在缩略图按钮周围是否突出显示边框。

命名空间:  Microsoft.Windows.Shell
程序集:  Microsoft.Windows.Shell(在 Microsoft.Windows.Shell.dll 中)

语法

声明
Public Property IsBackgroundVisible As Boolean
    Get
    Set
public bool IsBackgroundVisible { get; set; }
public:
property bool IsBackgroundVisible {
    bool get ();
    void set (bool value);
}
member IsBackgroundVisible : bool with get, set
function get IsBackgroundVisible () : boolean
function set IsBackgroundVisible (value : boolean)

属性值

类型:System.Boolean
如果在缩略图按钮周围突出显示边框,则为 true;否则为 false。默认值为 true。

备注

默认情况下,边框会出现在 ImageSource 周围,当鼠标指针移到缩略图按钮上时会进行突出显示。 若要只显示不带突显边框的 ImageSource,请将 IsBackgroundVisible 属性设置为 false。 如果 IsBackgroundVisible 为 false,则 ImageSource 仍切换何时单击缩略图按钮以向用户提供可视反馈。

.NET Framework 安全性

请参见

参考

ThumbButtonInfo 类

Microsoft.Windows.Shell 命名空间