Determines the content layout that has to be intialized and rendered for the Sidebar. Beside the predefined TextControl feature layouts SidebarContentLayout.FieldNavigator, SidebarContentLayout.Find, SidebarContentLayout.Goto, SidebarContentLayout.Replace, SidebarContentLayout.Styles and SidebarContentLayout.TrackedChanges and SidebarContentLayout.ConditionalInstructions, the user can choose SidebarContentLayout.Custom to place a custom control as content. To disable setting any content for this Sidebar, set the property to SidebarContentLayout.None. The default value is SidebarContentLayout.None.


public SidebarContentLayout ContentLayout { get; set; }
Public Property ContentLayout() As SidebarContentLayout


The SidebarContentLayout.Goto, SidebarContentLayout.Find and SidebarContentLayout.Replace layouts differ due to the horizontal and vertical alignment setting. If the Sidebar.HorizontalAlignment property is set to HorizontalAlignment.Left or HorizontalAlignment.Right in combination with VerticalAlignment.Stretch or VerticalAlignment.Center, a vertical alignment layout is shown. VerticalAlignment.Top or VerticalAlignment.Botton in combination with HorizontalAlignment.Stretch or HorizontalAlignment.Center aligns the layout horizontally. All other combinations result in displaying the sidebar's content in dialog style.