How can i change the color of selected item in combo box, the selected item color is same as accent color, i want to change this to custom color

<Page
x:Class="App1.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:App1"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<Grid Background="White">
<ComboBox HorizontalAlignment="Left"
BorderBrush="Black"
Foreground="Black"
Margin="80,272,0,0" VerticalAlignment="Top" Width="205" Style="{StaticResource BorderColor}">
<ComboBoxItem Content="One" IsSelected="True"/>
<ComboBoxItem Content="Two"/>
<ComboBoxItem Content="Three"/>
<ComboBoxItem Content="Four"/>
<ComboBoxItem Content="Five"/>
</ComboBox>
</Grid>
</Page>

Hi,
you can open the project in blend and then select the combobox for get the default style for combobox and for selected item . Please reference the
set combobox style.
Or see
quickstart: Styling controls topic to deep understand it.
Hope helpful for you.
--Simon
True mastery of any skill takes a lifetime.

Similar Messages

  • How can I make a intro page for my website, then after the intro has run make the page automatically change to my we site home screen

    how can I make a intro page for my website, then after the intro has run make the page automatically change to my website's home screen

    You can do this using a meta refresh but the problem is you have to add it to the html file for the page very time you publish changes.
    A better way is to create a splash page and upload it to the server outside of the folder produced by iWeb. Example HERE.
    The meta refresh is added to the head section of the html file...
    <meta http-equiv="refresh" content="32;url=http://www.domain.about.com/Page-Name.html">
    The delay time in seconds is marked in blue and the URL to the redirect page is in red.

  • In Contacts version 8, how can I print ALL information in each individual card? When I select the print command the only thing printed is the name and address. I need phone number(s) and all other information in the cards.

    In Contacts version 8, how can I print ALL information in each individual card? When I select the print command the only thing printed is the name and address. I need phone number(s) and all other information in the cards. We enter various pieces of data, other than the standard name address & phone numbers and we print all information on each card so it fits in a 5x7 inch loose binder. We have used InTouch software for many years and it has served us extremely welll, however, the publisher (The Prairie Group) has not, and apparently has no plans to update their software to be compatible with any Mac OSX OS beyond 10.6. Any help will be appreciated!

    You can select what you want included in a list format. In the Print command from Contacts, click the Show Details button. Then in the Style pulldown menu select "Lists" and there you'll be able to select what you want included. You can also select what you wish included if you select the Pocket Address Book style.
    If neither of those options will work for you, then you will need to look to third-party software. Here's one possibility that seems to get good reviews:
    https://www.macupdate.com/app/mac/15485/labels-&-addresses
    I haven't done more than try it to make sure that it works with OS X 10.9's Contacts, which it does, but you can download their demo and try it yourself.
    Regards.

  • How can i pass a variable instead of a table name in the Select statement.

    Dear all
    how can i pass a variable instead of a table name in a select statement ?
    Example :-
    Begin
    P_get_procedure_tname (aap_name,otable_name);--It will take an application name and will return a table name
    Select col1 into ocol1
    from  ---- here i want to pass the variable OTABLE_NAME
    End;How can i pass this ?

    Hi,
    You can use dynamic sql.
    EXECUTE IMMEDIATE 'SELECT COL1 INTO ' || OCOL1 || ' FROM " || OTABLE_NAME;
    {code}
    cheers
    VT                                                                                                                                                                                                                                                                                                   

  • HT5137 How can I get my castleville legends to connect to facebook?  I select the option to connect, it goes to facebook and back to the app, but it still won't connect.  I have both restarted the app and my phone wiht no luck.

    How can I get my castleville legends to connect to facebook?  I select the option to connect, it goes to facebook and back to the app, but it still won't connect.  I have both restarted the app and my phone wiht no luck.

    Hello sdrail81,
    The following article provides tips that can help resolve most issues with apps from the App Store.
    iOS: Troubleshooting apps purchased from the App Store
    http://support.apple.com/kb/TS1702
    Cheers,
    Allen

  • TS3992 How can I back up an iphone when I haven't set the phone up for back ups & the touch screen doesn't work? The phone can receive calls (not answer) & the pictures & messages can be seen but touch screen doesn't work to unlock the phone or select any

    How can I back up an iphone when I haven't set the phone up for back ups & the touch screen doesn't work? The phone can receive calls (not answer) & the pictures & messages can be seen but the touch screen doesn't work to unlock the phone or select anything. We want to save/transfer pictures, contacts, and music to the replacement phone.

    Try backing it up to your computer with iTunes.  Connect it to your computer, open iTunes, click on the name of the phone in iTunes, go to the Summary tab of your iTunes sync settings and click Back Up Now.  Also go to File>Devices>Transfer Purchases to transfer you apps and other purchased media to your iTunes library.

  • HT5621 Me and my daughter are using the same Apple id and we share the same iCloud account. I want to change her Apple id so that she will have her own icliid account and I will have mine. how do I do it?

    Me and my daughter are using the same Apple id and we share the same iCloud account. I want to change her Apple id so that she will have her own icloud account and I will have mine.
    1. how do I do it?
    2. how do I  transfer her stuff which is in my icloud storage to her new icloud account once this one is created?
    thanks,
    Ari

    To migrate her device to a new account, start by saving any photo stream photos she wants to keep to her amera roll (unless already there) by opening your my photo stream album, tapping Select, tapping the photos, tap the share icon (box with upward facing arrow, then tapping Save to Camera Roll.  If she is syncing notes with iCloud, you'll need to open each of the notes and email them to her so she can later copy and paste the text into new notes created in her new account.  Then go to Settings>iCloud, tap Delete Account (which only deletes it from this device, not from iCloud), choose Keep on My iDevice and provide the password to turn off Find My iPhone.  Then sign back in with a different Apple ID to create her new account and choose Merge to upload the data.
    Once you are on separate accounts you can each go to icloud.com from a computer and delete the other person's data from your account.

  • How can i switch a song into a MP3 Version like in the former iTunes version ?

    hello, how can i switch a song into a MP3 File like in the former Version from iTunes

    Franky,
    The Create New Version command always indicates the format that it presently set in your Import Setttings, which apparently is AAC.  To change it to MP3, go to Edit > Preferences > General > Import Settings, and set "Import Using" to MP3 Encoder. Also select your preferred bitrate.  OK out of there, and then look again at Create New Version.

  • How can i print just one page of photo book without printing the entire book

    how can i print just one page of photo book without printing the entire book

    Jim,
    Take heart.  We can help.
    First turn on page view so you can see how the content of your sheet fits on the page(s).  A Numbers document contains sheets (listed on the left) which in turn contain tables, charts, text, and graphics.  Select the sheet you want to print on the left, then enable page view by selecting the menu item:
    "View > Show Print View":
    Now you should see your content and how it fits on one, or more, pages.  If thie content is too big for one page use the controls and the bottom left of the window to expose the sheet controls:
    Here a table is too big to fit on one page:
    slide the "Content Scale" slider so the content fits:

  • How can i open a PDF bank statement in numbers so that the rows and columns contain properly aligned data from statement?

    how can i open a PDF bank statement in "numbers" so that the rows and columns contain properly aligned data from statement?

    Numbers can store pdfs pages or clippings but does not directly open pdf files.  To get the bank statement into Numbers as a table I would open the bank statment in Preview (or Skim) or some pdf viewer.
    Then hold the option key while selecting a column of data.
    Then copy
    Then switch to numbers and paste the column into a table
    Then repeat for the other columns in the pdf document
    It would be easier (in my opinion) to download the QFX or CSV version from your bank

  • How can I sort albums in a genre by release date in the itunes store

    How can I sort albums in a genre by release date in the itunes store

    Did you figure this out? Am having the same problem.
    EDIT:
    Found the group in store (in this case Juana Molina) It said music -> alternative
    Changed to column view, and could not find the artist at all in any of the sub categories.
    iTunes is really the biggest pain in the .... and has gotten worse over the years.

  • How can I delete my Icloud account when I don't know the password and no longer have the email address associated with it?

    How can I delete my Icloud account when I don't know the password and no longer have the email address associated with it?
    You need your password to delete it and I need the email address to reset the password.  I feel like I'm going in circles!!!  Please help!!!

    Go to https//appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID.  Tap edit next to the primary email account, tap Edit, change it back to your old email address and save the change.  Then edit the name of the account to change it back to your old email address (you shouldn't need to verify the old account).  You can now use your current password to turn off Find My iPhone on your device, even though it prompts you for the password for your old account ID. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https//appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.

  • How can I delete an attachment from a received email but save the message?

    Hi all, how can I delete an attachment from a received email but save the message?*

    Over the years this issue crops up again and again. Here are the cases I know about:
    Case 1 - it simply doesn't work
    I have a message in my inbox with a jpeg of about 300Mb. Select message, choose option "remove attachment" which is not greyed out, and it does not work.
    Case 2 - it works if you save the message first
    I move the message from the inbox to a mail box. Open the mailbox (select), select the message, choose option "remove attachment", result: the attachment is removed, a small text file is added and an error appears in the message "missing plug-in". The message size is reduced from 300Mb to a few bytes.
    Case 3 - the option "remove attachment" is greyed out.
    I've googled this at least 10 times and read all the advice about editing various files from the library and all the other hacks. The simple truth here is that the user should not be inconvenienced by such inappropriate behaviour. We're not used to this from Apple any more, not since OS X. Even Windows does this stuff painlessly. In fact this kind of function is something that Outlook and Exchange do incredibly well. If they didn't the corporate world would have ground to a halt.
    My point: the remove attachment option should work all the time and should be redesigned. Right-click + save as + delete in the message would be a hundred times easier.

  • In Acrobat, I wrote a script to turn fields gray if a checkbox was checked. How can I get it to reset to white (or clear) when the reset form button is clicked?

    In Acrobat, I wrote a script to turn fields gray if a checkbox was checked. How can I get it to reset to white (or clear) when the reset form button is clicked?

    Thank you so much for your reply . . . but . . . I should have shared my original script with you -- it was a little more complicated than I led you to believer. I was triggering a group of text fields to become disabled as well as gray. Below is the original script so that when the checkbox is checked, it causes several "Co" fields to be disabled and gray.
    // Mouse Up script for check box 
    // If checked, certain fields should be disabled 
    var f_prefix = "Co"; 
    // Get a reference to all of the "Co" fields 
    var f = getField(f_prefix); 
    // Reset the Co fields 
    resetForm([f_prefix]); 
    if (event.target.value === "Off") { 
        // Enable the Co fields 
        f.readonly = false; 
        f.fillColor = color.transparent; 
    } else { 
        // Disable the Co fields 
        f.readonly = true; 
        f.fillColor = color.gray; 
    To recap -- my goal is to get those gray fields to revert to transparent if the form is reset. I'm willing to create my own custom "Reset Form" button but I'm not sure I understand how that would look. Wouldn't it be quite lengthy? I think I'm having a brain freeze -- can't figure it out!

  • HT1338 Hi How can i reinstall OS Mavericks to make my laptop run like the first time?

    Hi,How can i reinstall OS Mavericks to make my laptop run like the first time?

    Hardware Information:
              MacBook Pro (17-inch, Early 2011)
              MacBook Pro - model: MacBookPro8,3
              1 2.2 GHz Intel Core i7 CPU: 4 cores
              6 GB RAM
    Video Information:
              Intel HD Graphics 3000 - VRAM: 384 MB
              AMD Radeon HD 6750M - VRAM: 1024 MB
    System Software:
              OS X 10.9.2 (13C64) - Uptime: 0 days 0:59:22
    Disk Information:
              TOSHIBA MK7559GSXF disk0 : (750.16 GB)
                        EFI (disk0s1) <not mounted>: 209.7 MB
                        Macintosh HD (disk0s2) / [Startup]: 749.3 GB (407.34 GB free)
                        Recovery HD (disk0s3) <not mounted>: 650 MB
              MATSHITADVD-R   UJ-898 
    USB Information:
              Apple Inc. FaceTime HD Camera (Built-in)
              Apple Inc. Apple Internal Keyboard / Trackpad
              Apple Inc. BRCM2070 Hub
                        Apple Inc. Bluetooth USB Host Controller
              PIXART USB OPTICAL MOUSE
              Western Digital  External HDD     500.11 GB
                        EFI (disk1s1) <not mounted>: 209.7 MB
                        WD-KENKEN (disk1s2) <not mounted>: 499.76 GB
              Apple Computer, Inc. IR Receiver
    FireWire Information:
              Iomega eGo HDD 800mbit - 800mbit max
                        disk2s1 (disk2s1) <not mounted>: 262 KB
                        Iomega_HDD (disk2s2) <not mounted>: 1 TB
    Thunderbolt Information:
              Apple Inc. thunderbolt_bus
    Kernel Extensions:
              at.obdev.nke.LittleSnitch          (4050 - SDK 10.8)
    Launch Daemons:
              [System] at.obdev.littlesnitchd.plist 3rd-Party support link
              [System] com.adobe.fpsaud.plist 3rd-Party support link
              [System] com.adobe.SwitchBoard.plist 3rd-Party support link
              [System] com.blackmagic-design.desktopvideo.XPCService.plist 3rd-Party support link
              [System] com.blackmagic-design.DesktopVideoHelper.plist 3rd-Party support link
              [System] com.blackmagic-design.streaming.BMDStreamingServer.plist 3rd-Party support link
              [System] com.microsoft.office.licensing.helper.plist 3rd-Party support link
              [System] com.noiseindustries.FxFactory.FxPlug.plist 3rd-Party support link
    Launch Agents:
              [System] at.obdev.LittleSnitchUIAgent.plist 3rd-Party support link
              [System] com.adobe.AAM.Updater-1.0.plist 3rd-Party support link
              [System] com.blackmagic-design.DesktopVideoFirmwareUpdater.plist 3rd-Party support link
    User Launch Agents:
              [not loaded] com.adobe.AAM.Updater-1.0.plist 3rd-Party support link
    User Login Items:
              iTunesHelper
              Dropbox
              RealPlayer Downloader Agent
    Internet Plug-ins:
              FlashPlayer-10.6: Version: 12.0.0.44 - SDK 10.6 3rd-Party support link
              QuickTime Plugin: Version: 7.7.3
              Flash Player: Version: 12.0.0.44 - SDK 10.6 Outdated! Update
              AdobePDFViewer: Version: 10.1.1 3rd-Party support link
              Default Browser: Version: 537 - SDK 10.9
              SharePointBrowserPlugin: Version: 14.0.0 3rd-Party support link
              JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Outdated! Update
    Safari Extensions:
              Slick Savings: Version: 1.0
              Searchme: Version: 1.3
              Amazon Shopping Assistant: Version: 1.1
              Ebay Shopping Assistant: Version: 1.1
    Audio Plug-ins:
              BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
              AirPlay: Version: 2.0 - SDK 10.9
              AppleAVBAudio: Version: 203.2 - SDK 10.9
              iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins:
              Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    User Internet Plug-ins:
              RealPlayer Plugin: Version: (null) 3rd-Party support link
    3rd Party Preference Panes:
              Blackmagic Desktop Video  3rd-Party support link
              Flash Player  3rd-Party support link
              Tuxera NTFS  3rd-Party support link
    Old Applications:
              dynamiclinkmanager:          Version: 6.0.0 - SDK 10.5 3rd-Party support link
                        /Library/Application Support/Adobe/Common/dynamiclink/CS6/dynamiclinkmanager.app
              SA Color Finesse 3 UI:          Version: 3.0.6(275) - SDK 10.5 3rd-Party support link
                        /Applications/Adobe After Effects CS6/Plug-ins/Effects/Synthetic Aperture/(CF3 Support)/SA Color Finesse 3 UI.app
              dynamiclinkmediaserver:          Version: 6.0.0 - SDK 10.5 3rd-Party support link
                        /Library/Application Support/Adobe/Common/dynamiclinkmediaserver/1.0/dynamiclinkmediaserver.app
    Time Machine:
              Mobile backups: OFF
              Auto backup: NO - Auto backup turned off
              Time Machine not configured!
    Top Processes by CPU:
                   8%          storeagent
                   4%          WindowServer
                   1%          EtreCheck
                   1%          PluginProcess
                   1%          RealPlayer Downloader Agent
    Top Processes by Memory:
              227 MB          Safari
              104 MB          com.apple.IconServicesAgent
              104 MB          Messages
              98 MB          mds_stores
              80 MB          Dropbox
    Virtual Memory Information:
              2.62 GB          Free RAM
              2.06 GB          Active RAM
              182 MB          Inactive RAM
              1.13 GB          Wired RAM
              338 MB          Page-ins
              0 B          Page-outs

Maybe you are looking for

  • IPS host blocking not happening in VLAN 1

    Hi I have IDSM2 module installed in 6500 core switch and configured in prismouscous mode. i have added interfaces of 6500 in IPS as blocking device and i can see all the vlan interfaces along with Vlan 1, When i test the attack, i can see the IPS act

  • Firefox keeps crashing, the error report includes mentions of mswsock.dll being involved.

    I keep getting random crashes, supposedly including mswsock.dll. I checked the forums and found numerous entries, however different users had different solutions to work for them and so far, I haven't found the reason for my problems. Crash reports:

  • Logo in ALV

    Hi Gurus, I need a ALV Report in the below given  manner. Logo Company Details Customer Number   Sales Details Customer Number   Sales Details Customer Number   Sales Details Footer Is it possible ? How? Thanks & regards, Lijo Joseph

  • Adobe Download Assistant sees Mozilla Firefox as IE

    Adobe Download Assistant fails to complete on Adobe Xi Pro Trial Version, citing probs with my version of Internet Explorer browser. In fact my browser is Mozilla Firefox. Any suggestions?

  • CS4 filter problems

    I am having trouble with my filters in CS4. When I get ready to use a filter half to three-fourths are grayed out. I've tried ctrl-alt-shift, but have had no luck.