WebPartZoneBase.TitleBarVerbStyle 属性

定义

获取 WebPart 控件的标题栏中的谓词的样式特性。Gets style attributes for verbs in the title bar of a WebPart control.

public:
 property System::Web::UI::WebControls::Style ^ TitleBarVerbStyle { System::Web::UI::WebControls::Style ^ get(); };
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.WebControls.Style TitleBarVerbStyle { get; }
member this.TitleBarVerbStyle : System.Web.UI.WebControls.Style
Public ReadOnly Property TitleBarVerbStyle As Style

属性值

包含谓词的样式特性的 StyleA Style that contains style attributes for verbs.

属性

注解

利用 TitleBarVerbStyle 属性,您可以使用区域中所有 WebPart 控件的标题栏中的谓词的样式特性来检索样式对象。The TitleBarVerbStyle property enables you to retrieve a style object with style attributes for the verbs in the title bars of all WebPart controls in a zone. 仅当谓词在标题栏中实际呈现时(例如,当 WebPartVerbRenderMode 属性值设置为 TitleBar时),该属性才适用。The property applies only when verbs are actually rendered in the title bar, such as when the WebPartVerbRenderMode property value is set to TitleBar.

尽管属性引用的对象是只读的,但仍可以更改标题栏中的谓词的基础样式属性。Although the object referenced by the property is read-only, you can still change the underlying style attributes for the verbs in the title bar.

适用于

另请参阅