RibbonWindowSmallIconConverter 类

更新:2010 年 10 月

此 API 支持 .NET Framework 基础结构,不适合在代码中直接使用。

将图标转换为其小型变体(如果有)。

继承层次结构

System.Object
  Microsoft.Windows.Controls.Ribbon.Primitives.RibbonWindowSmallIconConverter

命名空间:  Microsoft.Windows.Controls.Ribbon.Primitives
程序集:  RibbonControlsLibrary(在 RibbonControlsLibrary.dll 中)

语法

声明
Public Class RibbonWindowSmallIconConverter _
    Implements IValueConverter
public class RibbonWindowSmallIconConverter : IValueConverter
public ref class RibbonWindowSmallIconConverter : IValueConverter
type RibbonWindowSmallIconConverter =  
    class
        interface IValueConverter
    end
public class RibbonWindowSmallIconConverter implements IValueConverter

RibbonWindowSmallIconConverter 类型公开以下成员。

构造函数

  名称 说明
公共方法 RibbonWindowSmallIconConverter 初始化 RibbonWindowSmallIconConverter 类的新实例。

页首

方法

  名称 说明
公共方法 Convert 基础结构。将图标转换为其小型变体(如果有)。
公共方法 ConvertBack 基础结构。未实现此 API。
公共方法 Equals 确定指定的 Object 是否等于当前的 Object。 (继承自 Object。)
受保护的方法 Finalize 允许对象在“垃圾回收”回收之前尝试释放资源并执行其他清理操作。 (继承自 Object。)
公共方法 GetHashCode 用作特定类型的哈希函数。 (继承自 Object。)
公共方法 GetType 获取当前实例的 Type。 (继承自 Object。)
受保护的方法 MemberwiseClone 创建当前 Object 的浅表副本。 (继承自 Object。)
公共方法 ToString 返回表示当前对象的字符串。 (继承自 Object。)

页首

备注

此转换器由 Icon 属性使用。 它返回 RibbonWindow 左上角显示为应用程序图标的指定图标文件中最佳匹配的 16 x 16 图像帧。

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参见

参考

Microsoft.Windows.Controls.Ribbon.Primitives 命名空间

其他资源

功能区布局和大小调整

修订记录

Date

修订记录

原因

2010 年 10 月

添加了新类型。

信息补充。