I want to create Non-Rectangular Window with DropShadowEffect on it. I found this article how to do this. However DropShadowEffect is not shown when running this code. On screenshots you can see that DropShadowEffect is present, but it's not working for me.
How I can use DropShadowEffect with AllowsTransparency set to True?
...
Hi All,
I'm looking for some help on animating window resize of an open window!
Cant seem to figure this one out!
I'm just using atm.
this.Width = 500;
Any help would be great!
Thanks.
...
Hi, does anyone knows how to create a boolean column for WPF DevExpress Grid.
A similar text column is generated like:
DevExpress.Wpf.Grid.GridColumn col = new GridColumn();
But how to create a boolean column, so that the check box would be appear on that column..?
...
I have a stack panel with a few (different) items:
<StackPanel ...>
<TextBlock ... />
<CheckBox ... />
<CheckBox ... />
<Button ... />
</StackPanel>
I would like to apply VerticalAlignment="Center" to all children of the StackPanel without having to add VerticalAlignent="Center" or Style=... to every single child. So, ...
I'm having a very annoying problem with my datatemplates, the mouseOver template won't show any of the databound controls, so only the label and textbox are shown on mouseover. Theres no errors so I think I'm just missing something. The code - first one is used as a the Content Template when on MouseOver:
<!-- Data Template used whe...
Hi
I've set the ItemSource of a ListBox to a ObservableCollection collection, and my Employee class implements INotifyPropertyChanged.
On the Employee I've bound several properties, one of them a Color property, and I've ensured that it invokes the PropertyChanged event when it's changed. I've also checked with the debugger that the Pr...
Does anyone knows how to get a DevExpress WPF Grid Rows count?
...
I have been getting more involved with WPF for about a year now. A lot of things are new and sometimes it is hard to get my head wrapped around it.
At the same time I am rereading the GOF Design Patterns book.
A few times I would stop in the middle because I would realize that a certain pattern is the very one used in some WPF functio...
I created this datagrid, and it all works fine, but there's this little annoying problem
here's a screenshot of my datagrid
http://users.telenet.be/i_dislike_mushrooms/datagridproblem.JPG
But there's this small "column" to the left which annoys me like hell.
Here's my code:
<Window x:Class="IMDB.ML.Window1"
Name="This"
xmlns="http:/...
hi all ,
i am working on MVVM and using commanding in silverlight(DelegateEvent and ICommand)
I want something like this ,(say) i have 2 usercontrols , parent and child .
Parent is hosting the child , both have thier own viewmodels .
On parent i have a button and it executes a simple command , on execute of that command i want to upd...
I have a video camera that I'm interfacing with a C# app. The camera actually comes with a .NET WinForms control. It supports drawing on it with GDI+ functions.
When I zoom in, I need <1 pixel accuracy i.e. I want to draw a circle with a radius of less than two pixels. How can I draw vector graphics in WinForms? Is my best bet to over...
I'd like to open a .jpg file in WPF, scale it down to around 50%, then save it back to the file system. What's a good/efficient way to go about doing that?
...
Hi
I am rewriting my windows forms based application and I am going to use WPF.
The application relies heavily on drag and drop techniques, in a very graphically environment. The uses "Design" reports etc. by dragging elements onto a grid, moving them, right click setting properies etc. all of which is saved to a database. Also control p...
Does anyone have a good example of a WPF or silverlight windows gadget?
...
Is there a way to create a style that extends the current style, i.e. not a specific style?
I have a WPF application where I create styles to set some properties like borders or validation.
<Style TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
<Setter Property="Padding" Value="5,2,5,2"/>
</Sty...
Question: What would be the most effective way of doing a nested list which allows for data binding in the view and awareness of what shipment is selected so that command bindings from the view can function in the viewmodel on the appropriate item in any of the nested lists?
Info:
I've got a program that I've been working a lot on to...
Is there a way you can pin a wpf dockpanel? I have searched on the net and I have not found any functionality that will allow this. What I want is to lock the size of a dockpanel's dock regions. For example I want the right region"s width to stay locked all the time. The only solutions to this that I have seen are 3rd party controls...
Hi,
I am using a TextWriterProxy in the WPF application as follows:
TextBlock output = new TextBlock();
TextWriterProxy proxy = new TextWriterProxy();
proxy.Add(Console.Out);
StringBuilder sb = new StringBuilder();
StringWriter resultStringWriter = new StringWriter(sb);
proxy.Add(resultStringWriter);
output.Text = sb.To...
I would like to freeze a DataGridTextColumn in WPF but it looks like there is not a property for that in that class specifically. However, looking at the source for the WPFToolkit, there is a IsFrozen in DataGridColumn which is the parent of DataGridBoundColumn, which is the parent of DataGridTextColumn. So...why isn't that property avai...
Hello,
I'm building a simple financial record-keeping application. The main window view model holds a list of Accounts. The view shows this list (in a ListView) along with a panel showing details about the currently selected Account.
At first, I bound the details panel and ListView's SelectedItem to the same property (of type Account)...