What is the alternative for DisplayMemberPath="Value" for Windows Store applications?

I think there is a bug with Windows Store Applications when it comes to using DisplayMemberPath="Value".
Here is my code
<ComboBox Height="40" VerticalAlignment="Stretch" SelectedValuePath="Key" DisplayMemberPath="Value" x:Name="comboBox1" FontSize="25"/>
var source = new Dictionary<string, double>();
source.Add("Item1", 0.4);
source.Add("Item2", 0.3);
source.Add("Item3", 0.1);
source.Add("Item4", 0.1);
var formateDSource = new Dictionary<string, string>();
foreach (var item in source)
formateDSource.Add(string.Format("[{0}, {1}]", item.Key, item.Value), item.Key);
comboBox1.ItemsSource = source;
If you use this code in WPF in works perfectly. However if you use this code in a Windows Store Application then the Combo Box is empty and an error is thrown. So is there an alternative way to do this in Windows Store Applications and have I unearthed a
bug? Because I have researched the Web for days and found no solution to this.*please do not comment unless you have tried my code as a Windows Store App not a WPF in Visual Studios. Can Someone post an example based on my code that works in Windows Store
Apps please because this is terrible.
Thanks

It looks like you got an answer on SO:
http://stackoverflow.com/questions/29817124/what-is-the-alternative-for-displaymemberpath-value-for-windows-store-applicat
This does look like a bug.
Matt Small - Microsoft Escalation Engineer - Forum Moderator
If my reply answers your question, please mark this post as answered.
NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
objects and unknown namespaces.

Similar Messages

  • What is the alternative to TMG/ISA For SSL-Bridging-Capable Reverse Proxy For System Center 2012 R2 IBCM?

    When I look up alternatives to TMG many other answers say something like "Don't worry about it. TMG 2010 is under support until 2020."
    Well, we don't have TMG and can't buy it since it is off the market.  Can it still be legitimately purchased through any resellers?
    We need a reverse proxy that specifically supports SSL-Bridging so that device certificate authentication is not broken when the connection passes through the proxy.
    Which reverse proxies that are currently on the market are known to work successfully with System Center Config Manager Internet-Based Client Management and also with other Microsoft products such as Lync 2010 and RD Gateway 2012 R2?
    Do any Cisco ASA or ACE models support the required functionality for machine certificate authentication?
    We have ISA 2006 licenses available, but I would hate to roll that out and then have to replace it in only 2 years rather than using something that can stay in place long term.  Maybe we could use ISA 2006 temporarily as a stopgap if the next version
    released of Windows Server Web Application Proxy would meet the requirements and can be deployed in production before ISA 2006 is completely EOL.
    I hate that Microsoft keeps discontinuing all the related products to this before they have their replacements ready.

    Hi,
    You are correct, all TMG product sales officially ended in December 2012.
    In addition, an ISA Server and a TS Gateway server can be used together to enhance security for remote connections to internal network resources. However, it
    seems that ISA 2006 cannot support that on Windows Server 2012 R2. For more detailed information:
    Configuring the TS Gateway ISA Server Scenario
    Personally, Web application proxy would be an alternate. In addition, for the question related to Cisco product, you can contact Cisco for assistance.
    Best regards,
    Susie

  • What it the valid trigger delay value for "niScope Configure Trigger Digital.vi" ?

    Hello:
    I am using "niScope Configure Trigger Digital.vi" in LabView 5.1.1 for NI5911 scope card.
    The trigger source is RFI1.
    I am trying to specify the trigger delay, but it looks like the only accpted value is 0.0s.
    For example: setting delay time to 1ms (1.0m) results in the error message stating that invalid value had been passed for trigger delay.
    Thank you.
    --daevper

    The NI 5911 high speed digitizer does not support trigger delay; therefore its only valid input parameter for trigger delay is zero. The two high speed digitizers which do support trigger delay are the NI 5112 and the NI 5122.
    There is a helpful listing in the NI High-Speed Digitizers Help which displays the features supported by each device (Start >> All Programs >> National Instruments >> NI-Scope >> Documentation >> NI High-Speed Digitizers Help >> Content tab >> Devices >> Features Supported by Device). If you did not install the documentation along with the driver, you can also download this support file here.
    I hop
    e this helps!
    Regards,
    Sonya Wornson
    Applications Engineer
    National Instruments

  • What are the alternatives for BOM explosion?

    Hi.
    I am developing a report based on ck13n.I need the product costing of the Whole BOM upto the lowest level. right now i am js gettin the costing of the topmost heirarchy.Hw can i explode the BOM to the lowest level??? what are the alternatives?

    These are the userexits available for the BOM transactions CS11, CS12, CS13.
    Exit Name Description
    PCSD0001 Applications development R/3 BOMS
    PCSD0002 BOMs: Customer fields in item
    PCSD0003 BOMs: Customer fields in header
    PCSD0004 BOM comparison
    PCSD0005 BOMs: component check for material items
    PCSD0006 Mass changes user exit
    PCSD0007 Check changes in STKO
    PCSD0008 WBS BOM: Customer-specific explosion for creating
    PCSD0009 Order/WBS BOM, determine URL page
    PCSD0010 Order/WBS BOM, determine explosion date
    PCSD0011 Knowledge-based order BOM, parallel update
    PCSD0012 Customer - Mat. number/mat. number during material exchange
    PCSD0013 Customer-specific processing of an explosion for BOM browser
    PCSD0014 Knowledge-Based Order BOM: Status
    regards
    Abhay.
    <b>rewards point</b>

  • Is there a Pages for MAC OS 10.7.x? If not, what is the alternative? Concrete issue is that I have received a .pages document and need to edit. Many thanks

    Is there a Pages for MAC OS 10.7.x?
    If not, what is the alternative?
    Concrete issue is that I have received a ".pages" document and need to edit. I am running Mac Pro with OS X 10.7.
    Many thanks

    It is important that you determine if the .pages document originated from Pages ’08, Pages ’09, Pages v1.7.2 (IOS 6), or was exported as Pages ’09 from Pages v5+ on OS X Mavericks. If it meets one of these criteria, then you can edit the .pages document on your Lion machine with Pages ’09 from the iWork ’09 DVD. Pages documents can not be opened with TextEdit, but can be viewed with Preview.
    On the otherhand, if the .pages document was created with Pages for iCloud beta, Pages v2.2.1 (IOS 7), or Pages v5+ on Mavericks, then your only recourse is to edit the document with Pages for iCloud beta. Since Fall 2013, Apple changed the .pages document format into something even more malevolently proprietary. Apple word processing products since this timeframe, are subsets of the Pages ’09 features/functionality, and will filter out content they do not support.
    A Pages ’09 document is usually a compressed (zip) folder archive that looks like a regular file to the Finder. The newer Pages family of products only write out a package that to the Finder, also appears to be a regular file, but in reality it is a folder. The newer Pages documents must be zipped before placed on non-Apple filesystems.

  • I install a time capsule and I have to solve the last thing bsGN and it asks me for "a value for bsGN is required", I have no idea what it means. Somebody who knows what to do here? Thank you.

    H E L P !
    I am installing a time capsule and I have to solve a  last problem, bsGN and the system asks for "a value for bsGN is required", I have no idea what that means. Can anybody help me please? Thank you.

    There is no value bsGN in a Time Capsule.
    Where is this request coming from?
    Please give a screenshot.
    Who is the ISP? What kind of modem is it?
    I can find no info relevant to bsGN .. you will need to give us specifics or ring your ISP about it.
    Is bsGN even English?? Is it the ISP name??

  • If dont have ADOBE FLASH PLAYER... What is the alternative flash player for ipad mini and iphone

    If dont have ADOBE FLASH PLAYER...in mini ipad and iphone.. What is the alternative flash player for ipad mini and iphone

    There is no Flash for iOS and there never will be any Flash.
    Try the newer HTML5 versions of those Web sites that offer it.

  • What is the alternative for pneSearchDocProfiles  in UCM 11g

    Hi
    Any idea what is the alternative for the same in 11g? If I try the same code pneSearchDocProfiles.length always returns "0". As I can see pneCheckinDocProfiles and pneSearchDocProfiles are deprecated in 11g. I know these two are deprecated in 11g and part of deprecated.js file.
    Ashok

    Found the solution and we need use the below given code to find the length of the menu. There is no actual replacement for pneSearchDocProfile and pneCheckinDocProfile we need to use YUI libraries to get access to the menus. Below is the code
    var checkinmenu= YAHOO.widget.MenuManager.getMenu("MENU_A_NEW_CHECK_IN");
         var checkinmenuitems=checkinmenu.getItems();
    navBuilder.deleteItem("MY_PERSONAL_CHECKINS_" + (checkinmenuitems.length-1));
    var checkinmenu= YAHOO.widget.MenuManager.getMenu("MENU_A_SEARCH");
         var searchmenuitems=checkinmenu.getItems();
         navBuilder.deleteItem("MY_PERSONAL_SEARCHES_" + (searchmenuitems.length-1));

  • What are the Corresponding fields in CRM for sales order in ECC

    HI! Experts,
    While creating a standard sales order in CRM I want to poulate these fields in ECC Sales order, these fields are
    VBKD-BSARK - Purchase order type
    VBAK-BNAME - Name: user ordered
    VBKD-IHREZ - Web Confirmation Number
    VBAK-TELF1 - Telephone number
    Or the other way round I want to know what are the corresponding fields in CRM for these fields so that when I pass the data in crmd_order in those fields it gets populated in the above mentioned fields.
    Thanks and Regards
    Mayank

    Mayank,
    May I suggest you to create an Order in R/3 with these fields and check that back in CRM. This is not as easy as it may sound. It is possible that some of these fields are "determined" by the system - for example the "Sold-To"'s first telephone number maintained in VBAK-TELF1. So, though it becomes a part of the Order header in R/3, CRM, generally doesn't duplicate them in the transaction but allows to refer back to the master data from the transaction!
    Check the following fields in CRM and see if you find the data you require.
    VBKD-BSARK - Purchase order type There is a field in CRM that "holds" this value. ACTIVITY CATEGORY. This can be found in the ACTIVITY_H set of the transaction. Filed name CATEGORY. Problem with this is, - "Category Type" of a CRM Activity to be mapped to PO type? Didn't workout good for us since the master data for both vary widely. So, we used custom Header Extension data for this (EEWB). So, you have to work
    VBAK-BNAME - Name: user ordered Is usually CREATED_BY in the CRM Order Header (CRMD_ORDERADM_H). But this fills up the VBAK_ERNAM bit not the BNAME.See the next item, that may give a clue if this is related to the next item.
    VBAK-TELF1 - Telephone number is usually "determined". Usually the Sold-To's first telephone number maintained in the Business Partner "Communication" section for that Sold-To.
    VBKD-IHREZ - Web Confirmation Number Actually it is Customer's or vendor's internal reference as per standard use. Looks like your customer is using it for custom purposes. Well, if you maintain the relationship  "Is Correwspondence Recipient for" with the Sold-To partner in CRM, and maintain the details of this Person, then this will be transferred to R/3.
    Hint: Once you have the R/3 order in CRM, try using the Report program (SE38)  CRM_ORDER_READ in CRM. This is a good tool to "dissect and see" and order in CRM. The program needs only the Transaction Number as the input.
    Easwar Ram
    http://www.parxlns.com

  • What is the procedure/code in VBA for passing the calc scripts dynamically based on the selection.

    Hello Gurus,
    I want to know what is the procedure/code in VBA for passing the calc scripts dynamically based on the selection.
    For example:
    X=EssVCalculate("Sheetname","Calc_Script name",True)
    In the above code instead of the *"Calc_Script name"* I want a script which is called dynamically and the values are calculated accordingly.
    Thanks in advance
    Saurabh

    Hi Todd,
    This is the situation:
    I have a calc script in Essbase which I can call to perform the calculations on the current sheet that is retrieved. I want calculation for the following formulas:
    x = EssVCalculate("Sheet2", "CalcBC", False)
    CalcBC is my calc script which is present in Essbase
    So instead of passing the above script I want to pass the conditions dynamically in the VBA code . I don't want to mention the script name directly in EssVCalculate option
    For example:
    I have three drop down menus from which I would select three different( zero level )members. It would then retrieve the data for that particular values in the excel sheet and now when I click on Calculate button it should calculate the script dynamically.
    I don't know how calc scripts can be executed dynamically in the VBA code itself.
    Thanks in Advance
    Saurabh

  • What is the best iTunes Equalizer settings for Bose QC15 Headphones?

    What is the best iTunes Equalizer settings for the Bose QC15 Headphones? An image of those settings would be great.

    I'm a bit of an audio geek, so I can tell you that YES whatever sounds right is what you want, but NO those settings are not very good. The general setting is "OK" but the values are extremely out of range. Take that setting and reduce the distance between the sliders and you're getting there. Look for example at how the other iTunes presets are made, the don't go that far from the horizontal middle, and for good reason.
    When you play a recorded song, the song has usually been put through an extensive process of mixing, EQ and mastering before you got it, in order to get the best balance of all frequencies, to ensure the best sound accross a wide range of speakers and headphones, and to ensure the most important details and instruments are audible when played together.
    All speakers are different, and that's where the idea of an EQ for the listener is introduced. The idea is to tweak the overall sound from your music player (iTunes) to compensate for the strengths and weaknesses of your speakers. Which to be honest, is a bit much to expect form a typical music consumer.
    The iTunes EQ has a set of horizontal lines representing 3dB (volume steps) each. In my experience you should not boost or cut more than 6 db at the most - and that's a lot! I stay at around 0-4dB. The extreme options are there to cut noise from bad recordings or emphasize a detail you can't hear very well.
    So here's basic EQ lesson:
    The EQ represents the range frequencies in sound that the human ear can hear. Actually they go beyond that - most people cannot hear the far left and right frequencies. The range of frequencis start at "deep" or "low" frequencies at the left (bass) passing through the Midrange (midtones) in the center, to the (treble) at the right.
    Your speaker has a limit to how many frequencies it can play at once before it starts to lose detail - meaning one sound will drown out in order to make room for another. So don't over-EQ your sound or it'll ruin it.
    How to tweak an EQ:
    1) Start by playing a well-produced piece of modern music  - it'll most likely be well mixed and employ a wide range of frequencies. I'm into heavy metal but for this I'd probably go with some average pop music, because metal is so noisy it gets hard to pick out the details.
    2) Set you EQ to FLAT - zero all accross the board. It'll sound pretty flat and boring unless your speakers are very "flavoured" or "colored" already.
    Sliding any of the EQ bar up, will increase or boost the volume of the frequency the bar represents. You can't really add frequencies that aren't there already - you're just adding noise in that freqeuncy and that will "fill up" the available frequencies on your speaker, causing that "drowned out" effect I was talking about.
    Instead, slide them down from the center, and you're cutting the volume instead. This is better because it'll leave more "room" for the other frequencies. You can always use the Preamp slider at the end if you're worried about loudness (but I wouldn't).
    3) Start by tweaking the 500 and 1K slider. This represents the middle of your ears' range of hearing and the most noticable change. It should most likely go downwards - this will take the "canned" sound out of your music and that'll be apparent quickly. Go ahead and slide that down as far as -6dB.
    4) Now work outwards from the center forming a "v" shape, where the top tips of the V end at the 64 slider and the 8k slider. The very far left and right sliders (32 and 16K) should dip down again to about 0bB. Trust me, these are almost non-important in most music. You can tweak thos last if you feel it's needed.
    5) now it's time to start playing round with the V shape. Go ahead and try sliding the sliders a little up or down between 125-250 and 1K to 4K. You may find that some need to move a lot out of the average "V" shape before the sound is good. This is what my iTunes EQ settings ended up looking like for my Motörheadphones "Motorizer" headphones:
    Hope it helps.

  • What would the best way to go for an virtual grid?

    I need a 3 x 8 virtual grid that I can change values to:
    Red
    Blue
    Spoiler
    what would the best way to go for this objective?
    Thanks!

    I need a 3 x 8 virtual grid that I can changevalues
    to:
    Red
    Blue
    Spoiler
    what would the best way to go for this objective?
    Thanks!Create a Grid and a Tile class. A
    Grid has a 2D array of Tile objects an
    a Tile has an attribute called Color and, say,
    an x- and y-point. Program some appropriate methods.
    Done.
    Thanks for trying, but Nanook already gave the correct answer in reply 1.Is it possible to restrict these? to like a 8 x 3 grid ?
    or should i use an if statement?

  • What is the different between JMS Client for sonicMQ 4.0 and sonicMQ 6.1?

    hi everybody,
    I'm currently in big crisis and hope somebody out there
    can give me some guidance.
    We have a JMS client developed by an ex-colleague. The jms client was
    developed specifically for SonicMQ 4.0. Recently, we are upgrading to
    SonicMQ 6.1 and thus, we re-compile his code. Before re-compiling his
    code, we had put sonic_Client.jar and sonic_Crypto.jar in the library
    directory. There was no error.
    We were able to startup our receiver client without error. The receiver
    subscribed to the SonicMQ server 6.1 successfully. We could see it in the
    SonicMQ Management console. However, when we send a topic, the
    receiver client does not consume. All of us had been working day and night
    to find out the answer but no progress until now.
    We have a couple of properties file and I think, jmsconnect.properties file is
    the one been used. This is the content:
    # Must enter value if JNDIURL below, is not specified
    BROKER=mssonq:2506
    JNDIURL=
    MODETYPE=com.sun.jndi.ldap.LdapCtxFactory
    TOPICCONNECTIONFACTORY=
    QUEUECONNECTIONFACTORY=
    The previous version that was developed by my ex-colleague is still running
    fine in the current production server.
    Please let me know if the jmsconnect.properties is correct or wrong. By the
    way, what are the major code changes required for jms client that was
    meant for SonicMQ 4.0 to get it upgraded for SonicMQ 6.1.
    Any help will really appreciate.
    thanks & regards,
    Kenny

    AT&T is a GSM carrier. Sprint and Verizon are CDMA. The CDMA iPhone 4 has no SIM slot. The CDMA iPhone 4S does but the phones still can't be used on GSM in the U.S. The software versions are the same across carriers at this time.

  • What is the best & cheap backup solution for a macpro laptop?

    What is the best & cheap backup solution for a macpro laptop? easy & simple to use

    Basic Backup
    For some people Time Machine will be more than adequate. Time Machine is part of OS X. There are two components: 1. A Time Machine preferences panel as part of System Preferences; and, 2. A Time Machine application located in the Applications folder. It is used to manage backups and to restore backups. Time Machine requires a backup drive that is at least twice the capacity of the drive being backed up.
    Alternatively, get an external drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
    Carbon Copy Cloner
    Data Backup
    Deja Vu
    SuperDuper!
    Synk Pro
    Tri-Backup
    Visit The XLab FAQs and read the FAQ on backup and restore.  Also read How to Back Up and Restore Your Files.
    Although you can buy a complete external drive system, you can also put one together if you are so inclined.  It's relatively easy and only requires a Phillips head screwdriver (typically.)  You can purchase hard drives separately.  This gives you an opportunity to shop for the best prices on a hard drive of your choice.  Reliable brands include Seagate, Hitachi, Western Digital, Toshiba, and Fujitsu.  You can find reviews and benchmarks on many drives at Storage Review.
    Enclosures for FireWire and USB are readily available.  You can find only FireWire enclosures, only USB enclosures, and enclosures that feature multiple ports.  I would stress getting enclosures that use the Oxford chipsets especially for Firewire drives (911, 921, 922, for example.)  You can find enclosures at places such as;
    Cool Drives
    OWC
    WiebeTech
    Firewire Direct
    California Drives
    NewEgg
    All you need do is remove a case cover, mount the hard drive in the enclosure and connect the cables, then re-attach the case cover.  Usually the only tool required is a small or medium Phillips screwdriver.

  • What are the payment plans Apple has for international buyers

    what are the payment plans Apple has for international buyers

    There are none.  If you want to buy an iPhone, then you'll need to go and buy one from an Apple store in your country or one of the phone carriers in your country that offer iPhones.  If you live in a country that does not have an Apple store, then go to an Apple re-seller.  You may be able to purchase online if there is an Apple store online for your country.
    These are your alternatives.

Maybe you are looking for

  • Report in Designer fast, in Viewer extremely slow

    Hi. I have a report which connects to a SQL Server backend, calling 3 stored procs which deliver the data needed for the report. However, when I execute the report in the Designer (the web app uses CR 9, but I'm testing it with CR 2008 that came with

  • Updated to itunes 10.6.3 and now it won't recognize my iphone or ipad

    Itunes updated to 10.6.3 and now it will not recognize my iPhone or iPad.  I have tried uninstalling itunes and the amds following steps provided on the support site.  Still nothing.  My computer does show both as cameras though.  Any ideas?

  • [Solved] How do I add a PATH to a PKGBUILD?

    I'm trying to add a binary PATH to a PKGBUILD and am not sure how to do this.  The only experience I've had with PATHs is through my bashrc so I'd like to learn how to do this so that it stay persisitent (i.e. through restarts logoffs and such).  The

  • Question about sloc determination in MFBF and backflush in REM

    Dear SAPper, I just try to read about Repetitive Manufacturing and i came with some confused item. 1. I try to backflush MFBF and i don;t fill the planned order, but the backflush is succedd. Something strange is my planned order is not decrease:(, s

  • Issue with Service PO Process in Production Server

    Hi, We are doing the Process of Service PO. First create Service Master through AC01 with Material Group 603010. Now during Service PO, by mistake we insert Material Group 605010 inplace of 603010 in PO line item...After that GR has been done... Till