RibbonImageSize 枚举

定义

定义用以在 Ribbon 控件上显示指定图像的常数。Defines constants that specify how images are shown on Ribbon controls.

public enum class RibbonImageSize
public enum RibbonImageSize
type RibbonImageSize = 
Public Enum RibbonImageSize
继承
RibbonImageSize

字段

Collapsed 0

图像被折叠起来。The image is collapsed.

Large 2

显示大图像。The large image is shown.

Small 1

显示小图像。The small image is shown.

注解

Ribbon控件可以显示大图像、小图像或图像可折叠。A Ribbon control can display a Large image, a Small image, or the image can be Collapsed. 如果控件未指定与ImageSize设置相对应的大小的图像, 则不会显示图像。If the control does not specify an image of the size that corresponds to the ImageSize setting, no image is displayed.

小型图像通常为16x16 像素 (96 dpi)。A Small image is typically 16x16 pixels at 96 dpi. 大型图像通常为32x32 像素, 96 dpi。A Large image is typically 32x32 pixels at 96 dpi.

适用于