I have created a UserControl, and added a couple of custom routed events.
The problem is these events only show up in Properties->Events when I am manipulating an instance on the art board.
If I am editing the UserControl itself, the my custom events do not show up in the Events panel.
Is this a limitation of Blend, or a side effect o...
I'm a WPF n0ob and I'm struggling with selecting the appropriate control to get the layout I want.
What I'm trying to do is draw a bunch of squares (virtual post-it notes) onto the screen. Each note is going to be a decent size (~150 pixels or so) and there could be hundreds of these notes. I want the whole thing to be scrollable so t...
Hello.
Is there a way to get textboxes, labels and other wpf controls in xna that supports margins, etc that flexes for window size?
...
Hi,
I am looking for a WPF user control which works in the same way as the Aduna Clustermap.
http://www.aduna-software.com/
Does anyone know if there is as similar control for WPF?
Sam
...
I have a StackPanel inside of a ScrollViewer.
I have a slider that does a scale transform on the stackpanel to allow zoom-in and zoom-out functionality. The problem is that when I zoom in, the scrollviewer doesn't treat the content as being 'bigger'.
So, if I scroll in a little and scroll as far right as I can go - it stops me before ...
I have this Xaml
<SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}"
Value="#123456"/>
<SolidColorBrush x:Key="{x:Static SystemColors.HighlightTextBrushKey}"
Value="White"/>
THe first one works, the second one does not. On MSDN, SystemColors.HighlightTextBrushKey says that it "IsFrozen" and cannot be ch...
I am about to start to make the interface for a game in WPF / Silverlight. I'd like it to have a nice look all in 3 dimensions. Can you point me to some good resources, tutorials, books... on how to develop real 3D controls, like Buttons and such?
...
Hi,
I'm extending the available WPF's TreeView control.
I wish to add to it CheckBox behavior like Josh Smith has suggested.
My goal is to encapsulate all checkbox behavior concerns from the end user (which is a different approach of what josh Smith has done).
I would like to use a style for the TreeViewItem in order to add some prope...
The title says it all.. Im trying to make a specific control smaller, without making its content smaller..
If I use Control.Rendertransform, child content will be transformed as well..
Any ideas?
...
I'm working in a WPF project, which basically is a class library project that implements the MVVM pattern. For clarity purposes I'm gonna say that I just have a single window with a single textbox control on it.
Now, I'm adding this dll to another project, which is a Windows Forms project, and I'm calling the window with the textbox co...
I am facing a problem while working with a WPF ComboBox. My situation is that I have a ComboBox that is displaying some values. I am adding ContentControls to ComboBox' Items property. I have bound the Content of these ContentControl to some datasource so that I can change the Content dynamically. The problem is if the Content of item wh...
Hi!
I have used the following template in my project:
<DataTemplate
x:Key="textBoxDataTemplate">
<TextBox
Name="textBox"
ToolTip="{Binding RelativeSource={RelativeSource Self}, Path=(Validation.Errors)[0].ErrorContent}"
Tag="{Binding}"
PreviewKeyDown="cellValueTextBoxKeyDown">
<TextBox....
In my app, users can click a "New Account" button. The button opens a view where the user can enter information about the new account. I used binding to tie the "Ok" button command to a command in my view model. that all works fine but I can't figure out how to close the "New Account" window since there is no code behind in the view for ...
The labels in the example below (WPF/XAML) just parade off the screen, no wrapping occurs. Removing the orientation works, but doesn't provided the needed functionality/look & feel. Any ideas how to make the wrap panel wrap to the current size of the StackPanel?
<Window Height="300" Width="600">
<StackPanel Orientation="Horizontal...
I have a WPF User control that binds to a data table and generates checkbox and a masked edit box for each row in a data table. I have several instances of this control on my form. The total number of checkboxes to be generated is over 200. I am seeing some rendering performance issues. The form loads with all of the static controls ( Te...
Question: What changes need to be made to my code to allow me to sort more than once?
Information:
I have a list box that contains 1000 sample shipments in it in the program I'm currently writing, I've found the easiest way to sort these shipments at the click of a button is like so:
Private Sub Date_Ascending_Selected(ByVal sender ...
Does anybody know of a tutorial or sample code on how to create a simple designer control in WPF?
I am trying to write a simple designer in WPF where users can drag and drop data items (charts & lists) on specific points on a page (e.g. Line 3, Coloumn 24).
...
I wonder that MediaElement (from WPF) components are capable of playing and buffering mp3 streams.
I need play mp3 memory stream(not mp3 file) using MediaElement of WPF
,would you please tell me how to do it .
thank a lot
...
I would like to create simple objects at runtime (textbox, label, etc) and add them to a Grid in my WPF application. My problem is that I need to define these in the app.config file. I am reading in the config data by using the “ConfigurationManager.GetSection” method. Shown below is an example of the XML that defines two textboxes. The ...
I want to strike through a record in xamdatagrid at xaml.I am trying with TextBlock.TextDecoration="Strikethrough".It is working In a saperate textblock but the text decoration property doesnt come in the xamdatagrid.
This is what I was trying.The fontStyle is working but TextD...