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. 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 →
    • 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 →
      • 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 →
        • 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 →
          • Allow Grid child elements to be defined within ColumnDefintion or RowDefinition

            I use the Grid for most of the XAML I write. Right now it becomes difficult to move controls within a Grid around:

            <Grid>
            <Grid.RowDefinitions>
            <RowDefinition Height="Auto" >
            <TextBlock Grid.Column="0" Text="ABD" />
            <TextBox Grid.Column="1" Text="ABD" />
            </RowDefinition>
            <RowDefinition Height="*" />
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="Auto" />
            </Grid.ColumnDefinitions>
            <Grid>

            Thus anything within a ColumnDefinition or RowDefinition Content would automatically be included in that definition.

            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 →
              • 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 →
                • SplitViewPanePlacement Needs Top and Bottom option as well

                  SplitViewPanePlacement has a Left and Right option

                  Would like to request a Top and Bottom option as well for greater versatility.

                  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

                    1 comment  ·  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 →
                    • The header of controls placed

                      many control has a header, is a good idea. but the header can only placed on the top of control. I think the header should can be placed on the left option;

                      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 →
                      • Make DataGridColumn.OnInput() public instead of internal to allow custom data grid column to handle input event to switch to edit mode

                        The DataGridColumn class has a method 'internal virtual void OnInput(..)' which I would like to have as 'public' instead.

                        The problem with it being 'internal' is that when I create a derived DataGridColumn class and I want to make the cell go into edit mode when a key is pressed (just like DataGridTextColumn does), I can't because I can't override this method.

                        See http://referencesource.microsoft.com/#PresentationFramework/Framework/System/Windows/Controls/DataGridColumn.cs,1450.

                        See also the implementation of DataGridTextColumn and what it does in the override of this OnInput method.

                        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 →
                        • Improve WPF Text rendering performance

                          WPF Text rendering performance is still substantially slower than other technologies (eg GDI, GDI+, Winforms) -

                          https://github.com/dgrunwald/WPF-Text-Rendering-Benchmark

                          Provides an excellent example of this.

                          Metro/Windows App Store seems to have had substantial optimization investments - is it possible to have these improvements rolled back into WPF?

                          Text rendering can provide a substantial bottleneck in WPF applications, as most controls rely on some text in some way. For example in our trading application we need to display 10s of thousands of prices that change frequently.

                          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 →
                          • Get .PushEffect to work with hardware capabilities.

                            Hi!

                            I'm using DrawingVisual very much to render different objects to the screen. The function .PushEffect is right now obsolete and does not work. It would be really neat to get an updated version that has the hardware capabilities. It would also be really nice to be able to push custom HLSL shaders too. Because i want to use multiple effects on the same DrawingVisual, this is not possible right now since you only can have one effect through the DrawingVisual.Effects property.

                            Thanks guys! :)

                            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 →
                              • Strongly Typed Binding / Testability

                                Helps us to avoid "property not found" runtime error in design time

                                Compiler or CodeAnalasys rule should give an error or warning if binding path is invalid.

                                I want to avoid runtime errors like this:

                                BindingExpression path error: 'Fullname' property not found on 'object' ''Person' (HashCode=33132859)'. BindingExpression:Path=Person.Fullname; DataItem='ViewModel' (HashCode=46007650); target element is 'TextBlock' (Name=''); target property is 'Text' (type 'String')

                                We can already specify type of datacontext in designer using d:DataContext or DataType attribute of DataTemplate and some tools like resharper can already underline invalid Path in binding. So could and should visual studio by default.

                                This is one of…

                                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 →
                                  • 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 →
                                    • 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 →
                                      • Resize Window so Touch Keyboard doesn't hide half of the Window

                                        The Touch Keyboard when shown overlaps a WPF window in Windows 10. This also happens when in Touch Mode. The bottom half of the window cannot be seen.

                                        Make the Window Resize when either maximised or in Tablet Mode so that users can see what they are typing in

                                        0 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  ·  Unsorted  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Provide a standard mechanism for usage tracking and usage analytics

                                          As a developer and project stakeholder

                                          I want to know which features of my applications are used

                                          In order to optimize the usability of my apps

                                          PROBLEM:

                                          Usage analytics helps to improve software usability, but is currently implemented in very few desktop applications. It mostly relies on proprietary mechanisms and present the data in a way that is hard to interpret (diagrams). Heatmaps provide a more intuitive visualization, but usually require special eye tracking hardware.

                                          PROPOSAL:

                                          There should be a standard mechanism to record usage of UIElement's in a persistent storage (ie. Bindings to ETW, WCF, Database, ...).

                                          The mechanism…

                                          0 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 →
                                          • Don't see your idea?

                                          Windows Presentation Foundation (WPF)

                                          Feedback and Knowledge Base