Pivot Item Header Coulor Change opacity of all Headers Remains Same in windows Phone 8.1 Pivot Control -
Pivot Item Header Coulor Change opacity of all Headers Remains Same in windows Phone 8.1 Pivot Control -
i working on pivot command in windows phone 8.1 set foreground property of pivotitem header reddish color working fine but,i set items header reddish color , opacity of item header never changes of unfocused pivotitem cloud please help me how solve this problem. here code
<pivot title="pivot title" > <pivotitem > <pivotitem.header > <textblock text="one" foreground="red" fontsize="48"/> </pivotitem.header> </pivotitem> <pivotitem> <pivotitem.header> <textblock text="two" foreground="red" fontsize="48"/> </pivotitem.header> </pivotitem> <pivotitem> <pivotitem.header> <textblock text="three" foreground="red" fontsize="48"/> </pivotitem.header> </pivotitem> </pivot>
the default styles should on ridden in resource dictionary <resourcedictionary.themedictionaries> <resourcedictionary x:key="default"> <solidcolorbrush x:key="pivotheaderforegroundunselectedbrush" color="#afafaf" /> <solidcolorbrush x:key="pivotheaderforegroundselectedbrush" color="#56c5ff" /> </resourcedictionary> </resourcedictionary.themedictionaries>
windows-phone-8 windows-8.1 windows-phone-8.1
Comments
Post a Comment