Windows Presentation Foundation (WPF)

Previously from hosted on the Visual Studio UserVoice

How can we improve Windows Developer?

(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  1. Bring back WPF remoting over RDP

    Reverse the decision to render all content as bitmaps across RDP, as described here: https://blogs.msdn.microsoft.com/jgoldb/2008/05/15/whats-new-for-performance-in-wpf-in-net-3-5-sp1/

    2 votes
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)

      We’ll send you updates on this idea

      0 comments  ·  Flag idea as inappropriate…  ·  Admin →
    • Borrow Angular 2 ideas of...

      Allow for something similar to NgIf, NgFor, NgSwitch... right in xaml for the development of wpf applications. That is, allow for the basic If, For and Switch statements right inside xaml.

      2 votes
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        Signed in as (Sign out)

        We’ll send you updates on this idea

        0 comments  ·  Flag idea as inappropriate…  ·  Admin →
      • Searching the text in WPF Combo box

        In WPF Combobox if we have the below list of values :

        "American",
        "Asian",
        "Belgium",
        "Canadian",
        "Europian”
        With WPF Combobox, when we press "A" key, It goes to American and then press A it goes to Asian now press B multiple times. After that we try to Press A it does not go back to American. We have to press "A" key multiple times to switch between the values and this behavior is unpredictable.

        It should work in following manner:

        If we press A, then it should navigate to the value which starts with A and if we press any…

        2 votes
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          Signed in as (Sign out)

          We’ll send you updates on this idea

          0 comments  ·  Flag idea as inappropriate…  ·  Admin →
        • UWP Custom TitleBar

          Use a custom TitleBar is very inconvenient in UWP.
          1. I think the only thing for developer is call Window.Current.SetTitleBar(), not as the sample of TitleBar on github(https://github.com/Microsoft/Windows-universal-samples/tree/master/Samples/TitleBar).

          2. when add a fullScreen button in custom there has a gap lef to the minisize button, it is unreasonable.

          Not only do we want to improve the user experience, but also to improve the developer experience!!!!!!!!

          2 votes
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            Signed in as (Sign out)

            We’ll send you updates on this idea

            0 comments  ·  Flag idea as inappropriate…  ·  Admin →
          • Let us derive our own TriggerAction

            Remove "internal" from any abstract methods

            2 votes
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              Signed in as (Sign out)

              We’ll send you updates on this idea

              0 comments  ·  Flag idea as inappropriate…  ·  Admin →
            • Although it breaks separation of concerns, a razor view engine in xaml would be helpful.

              Adding a MVC type Razor View Engine in XAMLcode would be more than helpful. It could access the windows/pages data context only and would prove helpful in creating simple converters on the fly or help coerce common values.

              2 votes
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                Signed in as (Sign out)

                We’ll send you updates on this idea

                0 comments  ·  Flag idea as inappropriate…  ·  Admin →
              • Change the PropertyChangeTracker.OnPropertyInvalidation method to raise Changed event with meaningful EventArgs object...

                Change the MS.Internal.ComponentModel.PropertyChangeTracker.OnPropertyInvalidation method to raise Changed event with meaningful EventArgs object, which tells which DependencyProperty is changed.

                I am using the following code-construct to wire-up event handler for DependencyProperty changes:

                public void WireUp( DependencyObject obj, DependencyProperty prop )
                {
                var dpd = DependencyPropertyDescriptor.FromProperty( prop, obj.GetType() );
                dpd.AddValueChanged( obj, ValueChangedEventHandler );
                }
                private void ValueChangedEventHandler( object sender, EventArgs e )
                {

                }

                Unfortunately the EventArgs e represents an EventArgs.Empty object inside the event handler method block, which makes impossible to track which DependencyProperty was changed.
                As I see in the reference-source (http://referencesource.microsoft.com/#WindowsBase/Base/MS/Internal/ComponentModel/PropertyChangeTracker.cs,6c03ba1a17c9b49b) the MS.Internal.ComponentModel.PropertyChangeTracker.OnPropertyInvalidation method raises the Changed…

                2 votes
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  Signed in as (Sign out)

                  We’ll send you updates on this idea

                  0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                • To use the same Names of Properties in WPF in ASP.NET too

                  In WPF you call it Background, but in ASP.NET you use Backcolor and in WPF it is Visibility and in ASP.NET it is Visible. That will the Software engjineer have to know. Probably now is the last Chance to introduce the same names in WPF in ASP.NET too.

                  2 votes
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    Signed in as (Sign out)

                    We’ll send you updates on this idea

                    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                  • Declare dependency properties in XAML

                    Declaring new dependency properties on my user controls and the like requires so much boilerplate, even with code snippets. (And why not update the snippet to use the nameof operator for the declaring class name if you're using C# 6, anyway? Would make refactoring so much easier!) Anyway, if I could declare dependency properties in XAML, I think that would be much more intuitive.

                    2 votes
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      Signed in as (Sign out)

                      We’ll send you updates on this idea

                      0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                    • Provide the ability to identify ToolTip (error messages) in Telerik WPF Controls: Coded UI

                      The ToolTipText method present in Coded UI is not able to capture error messages which appear on hover. Neither the test builder tool's crosshair nor Ctrl+I combination are able to identify the error message. The reason for this behaviour seems to be design of the control as a hidden control.

                      I'm attaching a screenshot of the error message which we try to capture. Here is a link to the MSDN Forums post which I made: https://social.msdn.microsoft.com/Forums/vstudio/en-US/9062a310-918e-40b1-8f7a-3f21e4a5ccbb/method-to-identify-tooltips-in-wpf-controls?forum=vstest

                      2 votes
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        Signed in as (Sign out)

                        We’ll send you updates on this idea

                        0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                      • 2 votes
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          Signed in as (Sign out)

                          We’ll send you updates on this idea

                          0 comments  ·  Flag idea as inappropriate…  ·  Admin →

                          Thank you for your feedback on this idea. We have reviewed this and we will not be able to complete this suggestion in the foreseeable future.
                          Harikrishna Menon
                          Program Manager @ Visual Studio

                        • Add video,audio,subtitle track control to WPF media element

                          The media element for store apps are able to change tracks. Add this functionality into WPF media element as well.

                          2 votes
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            Signed in as (Sign out)

                            We’ll send you updates on this idea

                            0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                          • Loop in XAML binding for WPF

                            Loop in XAML binding for WPF

                            Smething like this

                            <Loop var="i" type="int" from="0" to="10">

                            <DataGridTextColumn Width="*"
                            MinWidth="50"
                            Binding="{Binding Name[i],
                            NotifyOnSourceUpdated=True}"
                            CellStyle="{StaticResource TextDataGridCell}"
                            Header="{Binding Source={StaticResource LocalizationManager},
                            Path=Localized.Name}"
                            IsReadOnly="True" />

                            </Loop>

                            2 votes
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              Signed in as (Sign out)

                              We’ll send you updates on this idea

                              0 comments  ·  Flag idea as inappropriate…  ·  Admin →

                              Thank you for your feedback on this idea. We have reviewed this and we will not be able to complete this suggestion in the foreseeable future.
                              Harikrishna Menon
                              Program Manager @ Visual Studio

                            • Allow loading custom dictionaries from memory or reuse already loaded ones

                              Currently, if I have multiple controls on screen, that require spelling check with custom dictionary, each of those controls load the dictionary from disk - so having 10 controls on screen might end up as 5-10 seconds of loading.
                              There are several problems:
                              - Adding custom dictionary is not asynchronous operation, so you can't make it happen in background
                              - Even if you use pack uri to load dictionary from assembly resources, it still accesses the disk - not only for reading, but also for writing temp file
                              - It needs not only load custom dictionary, but also parse it …

                              2 votes
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                Signed in as (Sign out)

                                We’ll send you updates on this idea

                                0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                              • Add WPF support for binding to async/task based properties

                                Allow XAML binding to a property like this

                                Public Task<ObservableCollection<Person>>
                                {
                                get
                                {
                                await LoadData();
                                }
                                }

                                2 votes
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  Signed in as (Sign out)

                                  We’ll send you updates on this idea

                                  0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                • shader constant buffers

                                  Add support for shader constant buffers for WPF pixel shader effects (ShaderEffect class).

                                  This feature would enable users to develop custom rasterization shaders - either for numerical data (function plots) or also vector graphics (for experimenting fun... or special stuff not available by WPF, e.g. higher order bezier curves for CAD or whatever). It would also enable users to develop more complex shader effects eyecandy.

                                  Using texture samplers would be a workaround, but I need the update performance of constant buffers (function graph plotting).
                                  Another workaround is using DirectX + D3DImage, but this is all to much overhead for this…

                                  2 votes
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    Signed in as (Sign out)

                                    We’ll send you updates on this idea

                                    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Scale-invariant vector graphics

                                    I would like to be able to zoom/pan a detailed vector-graphics visualization without changing line width and font sizes using an easy tool like RenderTransform or LayoutTransform.
                                    Currently I need to manipulate line width and font sizes for my UI to appear correctly.
                                    (Useful for GIS/Mapping applications).

                                    2 votes
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      Signed in as (Sign out)

                                      We’ll send you updates on this idea

                                      0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                    • Continue to support and enhance WPF in future versions of Visual Studio.

                                      Not everyone wants their Line of Business applications to have an HTML5/JavaScript look and feel. WPF allows for limitless possibilities to create a visually appealing application. Yes, there is a learning curve, but it is mitigated by the ease with which you can customize the GUI to your heart's content. After all, if the Visual Studio developers chose to use WPF for Visual Studio, clearly it is a good solution to applications' UI needs.

                                      1 vote
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        Signed in as (Sign out)

                                        We’ll send you updates on this idea

                                        0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Allow an UpdateLayout without a nested message/event loop

                                        Our code needs accurate up-to-date sizing (DesiredSize) values which building a UI in code. Unfortunately, calling UpdateLayout to ensure this triggers a nested message/event loop. That loop causes event delivery while we are not expecting them and wreaks havoc.

                                        Please either change UpdateLayout in ways which does not run the message loop OR create a way for use to layout and measure controls accurately without calling UpdateLayout.

                                        1 vote
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          Signed in as (Sign out)

                                          We’ll send you updates on this idea

                                          0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Add Windows Store APIs

                                          Windows Store Apps seem to have some good APIs for dealing with the hardware, such as cameras, keyboard presence, etc.

                                          I would like to see some of that in WPF, especially the use of touch keyboard if no physical keyboard is present.

                                          1 vote
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            Signed in as (Sign out)

                                            We’ll send you updates on this idea

                                            0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                          • Don't see your idea?

                                          Windows Presentation Foundation (WPF)

                                          Feedback and Knowledge Base