ImageWebPart.VerticalAlignment 属性
获取或设置图像的垂直对齐方式。
命名空间: Microsoft.SharePoint.WebPartPages
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<WebPartStorageAttribute(Storage.Shared)> _
<ResourcesAttribute("VerticalAlignmentLabel", "Advanced", "VerticalAlignment")> _
Public Property VerticalAlignment As VerticalAlignment
Get
Set
用法
Dim instance As ImageWebPart
Dim value As VerticalAlignment
value = instance.VerticalAlignment
instance.VerticalAlignment = value
[WebPartStorageAttribute(Storage.Shared)]
[ResourcesAttribute("VerticalAlignmentLabel", "Advanced", "VerticalAlignment")]
public VerticalAlignment VerticalAlignment { get; set; }
属性值
类型:Microsoft.SharePoint.WebPartPages.VerticalAlignment
指示图像的垂直对齐方式Microsoft.SharePoint.WebPartPages.VerticalAlignment枚举中的值。值包括"上,""中间"和"底部"。
备注
VerticalAlignment属性是可读写。