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. 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 →
    • 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 →
      • Show document outline for WPF ResourceDictionary files

        It would be great of the Document Outline pane would show the contents of ResourceDictionaries

        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 →
          • 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 →
            • 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 →
                        • 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 →
                            • 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 →
                              • 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 →
                                • 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 →
                                  • 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 →
                                    • 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