Dela via


RibbonWindowSmallIconConverter Class

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Converts an icon to its small size variant if one is available.

Inheritance Hierarchy

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

Namespace:  Microsoft.Windows.Controls.Ribbon.Primitives
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
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

The RibbonWindowSmallIconConverter type exposes the following members.

Constructors

  Name Description
Public method RibbonWindowSmallIconConverter Initializes a new instance of the RibbonWindowSmallIconConverter class.

Top

Methods

  Name Description
Public method Convert Infrastructure. Converts an icon to its small size variant if one is available.
Public method ConvertBack Infrastructure. This API is not implemented.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Remarks

This converter is used by the Icon property. It returns the best matched 16x16 image frame within the specified icon file to be displayed as the application icon in the top left of the RibbonWindow.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Windows.Controls.Ribbon.Primitives Namespace

Other Resources

Ribbon Layout and Resizing