RibbonWindowSmallIconConverter.Convert Method
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.
Namespace: Microsoft.Windows.Controls.Ribbon.Primitives
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Function Convert ( _
value As Object, _
targetType As Type, _
parameter As Object, _
culture As CultureInfo _
) As Object
public Object Convert(
Object value,
Type targetType,
Object parameter,
CultureInfo culture
)
public:
virtual Object^ Convert(
Object^ value,
Type^ targetType,
Object^ parameter,
CultureInfo^ culture
) sealed
abstract Convert :
value:Object *
targetType:Type *
parameter:Object *
culture:CultureInfo -> Object
override Convert :
value:Object *
targetType:Type *
parameter:Object *
culture:CultureInfo -> Object
public final function Convert(
value : Object,
targetType : Type,
parameter : Object,
culture : CultureInfo
) : Object
Parameters
- value
Type: System.Object
The value to convert.
- targetType
Type: System.Type
The type to be converted to.
- parameter
Type: System.Object
The converter parameter to use.
- culture
Type: System.Globalization.CultureInfo
The culture to use when converting.
Return Value
Type: System.Object
The 16x16 image variant of the specified icon if one is available; otherwise, the original image.
Implements
IValueConverter.Convert(Object, Type, Object, CultureInfo)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.