Friday 15 August 2014

Show DevExpress DXTabControl tabs at the bottom in XAML -


Do anyone know how to use DevExpress DXTabControl in XEML and set it so that tabs appear below? Even though I have so far, but there are no examples of this from the DevExpress documentation shown on the top of the tab. Intellisense does not give me some intuitive knowledge.

  & lt; Dx: DXTabControl> & Lt; Dx: DXTabItem header = "main" & gt; & Lt; Dxdo: DockLayoutManager & gt; & Lt; Dxdo: LayoutGroup & gt; & Lt; Dxdo: layoutpanel caption = "agenda" & gt; & Lt; View: DxTaskList x: name = "Tasklst" /> & Lt; / Dxdo: LayoutPanel & gt; & Lt; Dxdo: LayoutPanel Caption = "Job Details" & gt; & Lt; ScrollViewer VerticalScrollBarVisibility = "Auto" horizontal ScrollBarVisibility = "Auto" Focusable = "False" & gt; & Lt; StackPanel & gt; & Lt; View: Working Person x: name = "Job Ditils" /> & Lt; / StackPanel & gt; & Lt; / ScrollViewer & gt; & Lt; / Dxdo: LayoutPanel & gt; & Lt; / Dxdo: LayoutGroup & gt; & Lt; / Dxdo: DockLayoutManager & gt; & Lt; / Dx: DXTabItem & gt; & Lt; / Dx: DXTabControl & gt;  

For anyone who can be stumped in nothing-then-obvious, here XAM's solution I was looking for. Yes, the property was explicitly called the header location, but the DevExpress documentation does not give some XAML examples on it, so that's what happened to me in my case:

  & lt; Dx: DXTabControl> & Lt; Dx: DXTabControl.View & gt; & Lt; Dx: TabControlMultiLineView header location = "bottom" /> & Lt; / Dx: DXTabControl.View & gt; & Lt; Dx: DXTabItem header = "main" & gt; & Lt; Dxdo: DockLayoutManager & gt; & Lt; Dxdo: LayoutGroup & gt; & Lt; Dxdo: layoutpanel caption = "agenda" & gt; & Lt; View: DxTaskList x: name = "Tasklst" /> & Lt; / Dxdo: LayoutPanel & gt; & Lt; Dxdo: LayoutPanel Caption = "Job Details" & gt; & Lt; ScrollViewer VerticalScrollBarVisibility = "Auto" horizontal ScrollBarVisibility = "Auto" Focusable = "False" & gt; & Lt; StackPanel & gt; & Lt; View: Working Person x: name = "Job Ditils" /> & Lt; / StackPanel & gt; & Lt; / ScrollViewer & gt; & Lt; / Dxdo: LayoutPanel & gt; & Lt; / Dxdo: LayoutGroup & gt; & Lt; / Dxdo: DockLayoutManager & gt; & Lt; / Dx: DXTabItem & gt; & Lt; / Dx: DXTabControl & gt;  

As you can see that you want to add the property and then provide it a price, which I used to use a tab control multilineview, and a header position in that object The property that I had set up was one of the valid enums when I did this, then the tabs appeared below.


No comments:

Post a Comment