In WPF I have one window opening a second window that allows some data selections to occur on. Once the selections have been made I then want to submit/close the second/sub window and have the data pushed back to the opening/parent window.
I can push data into the sub window from the parent via public properties, but have not worked out...
Can anyone point me to any useful examples of an application framework being built using the newly released Enterprise Library 5?
I have previously used v4.1 and after downloading the source for v5 and building - I'm not understanding how to integrate it with a WPF app - i.e. there doesn't appear to be any UnityBootstrapper class.
Than...
I am using a WPF DataGrid where one of the columns has a requirement to show an "Edit" hyperlink if the row is editable - this is indicated by a boolean flag in the backing model for the row. I was able to achieve this using a DataGridTemplateColumn - no problems. However an additional requirement on the entire row is not to show any hig...
Hello all.
I have a C# (WPF) application which checks for all output devices (Speakers) and I need to check the Bit Depth and Sample Rate of the output device. Has anyone worked with this or know of a way to do so?
I have been searching around, but found nothing similar...
Any help is much appreciated.
Thanks
...
Can you drag a canvas in WPF? How do you set the position of the canvas? Here is what I got so far:
/// xaml
<Window x:Class="TestApp.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Height="350" Width="525"
WindowStyle...
I have this control template that I am writing:
<Style TargetType="{x:Type controls:InfoBar}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type controls:InfoBar}">
<Border Background="{TemplateBinding Background}"
BorderBrush="{TemplateBindin...
Hi,
Following this question from last year. I am checking two open source ribbon controls:
Fluent
Odyssey
Do you have any experience (good or bad) with any of them? or perhaps know of another open source ribbon control?
...
I have a parent contentcontrol which displays data via a datatemplate. The datatemplate contains a stackpanel with several usercontols of the same type. I like to set the property only once on the parent control, it must set the value of the property on all the subcontrols. But if there is a way to do it on the stackpanel it's also OK. T...
Form Build your own MVVM I have the following code that lets us have typesafe NotifyOfPropertyChange calls:
public void NotifyOfPropertyChange<TProperty>(Expression<Func<TProperty>> property)
{
var lambda = (LambdaExpression)property;
MemberExpression memberExpression;
if (lambda.Body is UnaryExpression)
{
var un...
Hi
I am using a Slider and putting a style element over it as follows... But however, I am not able to figure out why the style is not getting reflected. The RepeatButtons are not still visible.
Thanks in advance
<ResourceDictionary>
<LinearGradientBrush x:Key="Stroke_Gradient" EndPoint="0.5,1" StartPoint="0.5,0">
...
Hi there,
I'm making an application and I'm using a timer in that application to change label content in WPF C# .NET.
In timer elapsed event I'm writing the following code
lblTimer.Content = "hello";
but its throwing an InvalidOperationException and gives a message "The calling thread cannot access this object because a different thr...
Is it possible to have a textbox in wpf traybar popup?
...
Wondering if anybody else has found some very odd behaviour with the XAML/WPF 4 editor in VS2010. This only occurs if the project is using .NET 4.
Whenever I tried to open a XAML document for editing, the window would appear to open for a split second and then vanish, but VS2010 would still list the window as open.
The fault was eventu...
I have modified my treeview to look like an Org chart using the example shown in the Code Project website (Author Josh Smith). I need connecting lines in the treeview to make it look exact to org chart. I found references pointing to the below site
http://wpfblog.info/2008/05/26/turning-a-treeview-into-an-org-chart-with-connectors/
But...
how i can write a closed function for our wpf application
in Window application we can simply use application.exit();
are any way to closed a wpf application
...
I favour the vertical separation over the horizontal separation in VS2008 wpf designer.
But after deleting the .suo (fresh checkout, new project, etc.) this setting is gone.
Is there a way to tell visual studio to default to the vertical separation instead of the horizontal for wpf designer ?
I can not find anything in the "options". Did...
How to make a shadow for a 3D model in WPF?
...
Hi !
I' written this UserControl:
<my:MyUserControl x:Class="MyClass"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:my="clr-namespace:MyNameSpace.MyControls;assembly=MyAssembly">
</my:MyUserControl>
pu...
I have a wpf form. Which contains labels and other controls.
Whole form has concrete dataSource. I want labels in this form have another biding. only labels
<Grid>
<Label x:Name="label"/>
<TextBOx />
<Label x:Name="labe2"/>
<TextBOx />
</Grid>
...
I will start a project that needs a web and desktop interface. One solution seems to be IdeaBlade (http://www.ideablade.com).
Can anyone who uses it describe its limitations and advantages? Is it testable?
Thanks,
Alex
...