c# - How do i change a combobox arrow color, in windows 8 store app -


मेरे पास एक विंडोज स्टोर एप प्रोजेक्ट में यह कंबलबॉक्स है

  & lt; ComboBox Grid.Row = "2" एक्स: नाम = "ContactoSelect" चौड़ाई = "200" ऊंचाई = "50" मार्जिन = "114,10,27,510" SelectedIndex = "0" पृष्ठभूमि = "व्हाइट" SelectionChanged = "ContactoSelect_SelectionChanged" & gt; & Lt; x: स्ट्रिंग & gt; आइटम 1 & lt; / x: स्ट्रिंग & gt; & Lt; x: स्ट्रिंग & gt; आइटम 2 & lt; / x: स्ट्रिंग & gt; & Lt; x: स्ट्रिंग & gt; आइटम 3 & lt; / x: स्ट्रिंग & gt; & Lt; / ComboBox & gt;   

मैं तीर का रंग बदलना चाहता हूं, जो कि डिफ़ॉल्ट रूप से काला है मैं इसे कैसे कर सकता हूं?

डिज़ाइन दृश्य से नियंत्रण पर राइट क्लिक करें

संपादित करें विकल्प शैली & gt; एक कॉपी संपादित करें

एक शैली (नाम अपने एक्स के अनुसार बदलता रहता: नाम) ComboBoxStyle1 रूप Page.Resources अंदर XAML में नियंत्रण के लिए बनाया जाएगा

आप

 <कोड> & lt मिलेगा; TextBlock x: नाम = "DropDownGlyph" Grid.Column = "1" अग्रभूमि = "{StaticResource ComboBoxArrowForegroundThemeBrush}" FontWeight = "बोल्ड" fONTSIZE = "{StaticResource ComboBoxArrowThemeFontSize } "FontFamily =" {StaticResource SymbolThemeFontFamily} "HorizontalAlignment =" right "IsHitTestVisible =" false "मार्जिन =" 0,0,6,4 "पाठ =" & amp; # xE011, " VerticalAlignment = "केन्द्र" / & gt;   

फ़ोरग्राउंड को वांछित रंग में बदलना चाहते हैं उदाहरण: अग्रभूमि = "लाल" या किसी भी अन्य संसाधन बाध्यकारी।

आप शैली विश्व स्तर पर अपने App.xaml में इतना है कि यह नीचे किसी और जहां के रूप में इस्तेमाल किया जा सकता

 <कोड> & lt परिभाषित कर सकते हैं; ComboBox HorizontalAlignment = "बाएँ" मार्जिन = "187,130 , 0,0 "वर्टिकलएलिनेमेंट =" टॉप "चौड़ाई =" 120 "शैली =" {स्टेटिक रिसोर्स कॉम्बो बॉक्स सस्टील 1} "/ & gt;    

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

c - Performance of System() -

javascript - Is there any way to add a new parameter to a function programmatically? -