Wizard.DisplaySideBar 属性

定义

获取或设置一个布尔值,该值指示是否显示 Wizard 控件上的侧栏区域。Gets or sets a Boolean value indicating whether to display the sidebar area on the Wizard control.

public:
 virtual property bool DisplaySideBar { bool get(); void set(bool value); };
[System.Web.UI.Themeable(false)]
public virtual bool DisplaySideBar { get; set; }
[<System.Web.UI.Themeable(false)>]
member this.DisplaySideBar : bool with get, set
Public Overridable Property DisplaySideBar As Boolean

属性值

Boolean

如果为 true,则显示 Wizard 上的侧栏区域;否则为 falsetrue to display the sidebar area on the Wizard; otherwise, false. 默认值为 trueThe default is true.

无法通过主题或样式表主题设置此属性。This property cannot be set by themes or style sheet themes. 有关详细信息,请参阅 ThemeableAttributeASP.NET 主题和外观For more information, see ThemeableAttribute and ASP.NET Themes and Skins.

属性

注解

控件的呈现可能有不同, Wizard 具体取决于此属性是设置为 true 还是 falseThere can be a difference in the rendering of the Wizard control depending on whether this property is set to true or false. 如果此属性值设置为 true 并且显示了边栏,则单元格间距不会应用于 HeadCell 控件表的、 StepCellNavigationCell 元素。When this property value is set to true and the sidebar is displayed, cell spacing is not applied to the HeadCell, StepCell, or NavigationCell elements of the control's table. 如果该值为 false ,则应用单元间距。When this value is false, cell spacing is applied. 这可能会影响控件的呈现方式。This may affect how the control is rendered.

适用于

另请参阅