Windows Presentation Foundation, or WPF, is a subsystem for rendering user interfaces in Windows-based applications.
0
votes
0answers
2 views
Microsoft UIAutomation fails to retrieve child components in WPF GroupBox
Setting the scene
I have a simple Microsoft WPF application that consists of a (data driven) GroupBox containing a Group of Cats and a group of Dogs. Both the Cat and Dog groups contain two group ...
0
votes
0answers
4 views
How to establish in a mdx query 2 measures and a hierarchy
I Have this query:
SELECT NON EMPTY { [Art].[Art].[Art].ALLMEMBERS * [Measures].[Costs] * [Measures].[Margin] } ON COLUMNS
FROM [Model]
CELL PROPERTIES VALUE, BACK_COLOR, FORE_COLOR, ...
0
votes
0answers
8 views
Pushing properties to non-fixed binding sources; or: listening for binding source changes
I have been on this problem for quite a while now but wasn’t really able to come up with a nice solution. The basic problem is that I want to create a binding group and push that binding group into my ...
0
votes
0answers
15 views
c# - Making wpf xaml elements visible programmatically
I know this question has been asked many times, but none are working for me. I am getting the error "An object reference is required for the non-static field, method, or property "...Question1Text"". ...
0
votes
0answers
9 views
WPF Binding in execution time
I have the following binding in my XAML file:
Fill="{Binding ElementName=cpRange1, Path=CurrentColor}"
What would be the syntax for setting this same building but in execution time?
1
vote
1answer
37 views
Restricting Input in WPF
I am creating a custom control that when invoked in the XAML can be set to only allow certain types of inputs:
<lib:CustomControl RestrictTo="UnsignedIntegersOnly" ... ></CustomControl>
...
0
votes
1answer
23 views
WPF Deleting item from Combobox when Press Delete Button(MVVM)
I have a combobox binded to a Observeable Collection. The Collection is a container for a selfdefined class.
I need to delete an arbitary item from the combobox by pressing the right mouse button ...
0
votes
0answers
10 views
TreeViewItem Display Data (not TreeViewItem) on Expand
I have a TreeView that is right now one layer deep. On expanding the top-layer items, I want rows of data about that item to be displayed (not another TreeViewItem). Here is my code:
XAML:
...
-2
votes
0answers
16 views
WPF Scheduler like Outlook calendar
I am searching WPF scheduler where you can add appointments, drag&drop it, have different views (day, month, week, workweek,..) and must be FREE!
I found some examples, but don't work, are too old ...
1
vote
0answers
19 views
Get type of AutomationEvent C# UIAutomation
I was wondering how I could get a specific type of action on AutomationElement? I have all the details when it comes to AutomationElement using
AutomationFocusChangedEventHandler handler = new ...
1
vote
3answers
25 views
Animate ProgressBar content WPF with specific value
I'm trying to develop a ProgressBar that fills accordingly to a value that I manually set to it. For example, I have this ProgressBar:
<ProgressBar Height="33" HorizontalAlignment="Left" ...
1
vote
1answer
7 views
How to Bind CommandParameter to Unknown Parent
I have the following context menu declared in my application resources, and it is referenced by several tree views in my app. I am trying to send the TreeView's SelectedItem property as the command ...
1
vote
0answers
18 views
Implementing a WPF custom property to semantically group checkboxes
Could any of the WPF gurus here point me in the right direction of what it would take to implement a system whereby checkboxes that belong to some "group" have certain behaviors, like enforcing that ...
-1
votes
0answers
17 views
Rotating a panoramic image in 3D space
I have an image in Equirectangular projection (http://wiki.panotools.org/Projections#Equirectangular_projection) and I want to create another image (Equirectangular projection) that is the result of ...
0
votes
1answer
21 views
StringFormat with value zero
I'm developing a wpf application with componentart I have a textblock like this
<TextBlock FontSize="28" Text="{Binding DataPoint.Y, StringFormat=\{0:#\\%\}}" Foreground="Black">
As you can ...