HandyOrg / HandyControl

Contains some simple and commonly used WPF controls
https://handyorg.github.io/
MIT License
6.13k stars 1.03k forks source link

TabStripPlacement Does Not Change Tabs Position When Using hc:TabControl #555

Open AlBannaTechno opened 3 years ago

AlBannaTechno commented 3 years ago

Describe the bug TabStripPlacement Property Does Not Affect The Position Of Tabs

To Reproduce Just use this code

<!--xmlns:hc="https://handyorg.github.io/handycontrol" -->
<hc:TabControl
                TabStripPlacement="Left">
    <hc:TabItem Header="HD}">
        <TextBlock Text="ND"/>
    </hc:TabItem>
</hc:TabControl>

Expected behavior

Tabs Should Be In The Left, but it is still in the top

Environment (please complete the following information):

Additional context

When using TabControl From Wpf Not From HandyControl Library, Everything works perfectly

ghost1372 commented 3 years ago

@AlBannaTechno TabStripPlacement must be used in TabControl not hc:TabControl

<TabControl
                TabStripPlacement="Left">
    <TabItem Header="HD}">
        <TextBlock Text="ND"/>
    <TabItem>
<TabControl>
AlBannaTechno commented 3 years ago

@AlBannaTechno TabStripPlacement must be used in TabControl not hc:TabControl

<TabControl
                TabStripPlacement="Left">
    <TabItem Header="HD}">
        <TextBlock Text="ND"/>
    <TabItem>
<TabControl>

i already, know that TabStripPlacement works fine with TabControl But what I just ask about, if there is an issue in hc:TabControl Implementation To Prevent This Behavior,

But from what you say, hc:TabControl does not support this feature, although hc:TabControl is very well styled, compared to TabControl