Hi,
In a WPF UI app, is there any control to display graph?
I mean, i have 2 combo boxes, on selecting the values in it, it generates a graph.( I have done this using crystal report viewer in a normal windows app... ).
How to achevie this in WPF?? As a is available for documents, do WPF has any graph or reports viewer in it.
I am no...
Hey there,
I am working on a WPF, C#3.0 Project and I am getting this error:
Error 1 Metadata file
'WORK=-\Tools\VersionManagementSystem\BusinessLogicLayer\bin\Debug\BusinessLogicLayer.dll'
could not be
found C:-=WORK=-\Tools\VersionManagementSystem\VersionManagementSystem\CSC VersionManagementSystem
EDIT:
This is how I ref...
This code works (when ControlType="dropDown" then the background yellow):
<Window x:Class="TestCollapsed.Views.MainView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:c="clr-namespace:TestCollapsed.Commands"
Title="Main Window" Height="400" ...
I want to use custom brushes with the InkCanvas.
Their is a code snippet from MSDN. (http://msdn.microsoft.com/en-us/library/ms747347.aspx)
If i use that code and move my mouse VERY fast i get space between the brushes(ellipses):
And my question is of course how to fix this but I'm also curious why this is happening (I want to learn ...
I am building a WPF app with several assemblies, and I want to share a resource dictionary among them. That requires a ComponentResourceKey. I have built a small demo to test out the CRK, and I can't seem to get it working.
My demo has two projects, a WPF project called Demo, and a DLL called Common. The Common project has a folder call...
PROBLEM:
I have a custom class named BlinkingLight.
I also have a static ObservableCollection BlinkingLightCollection.
In the UI, I have a ListBox that is bound to BlinkingLightCollection.
In my ListBox I want to essentially display each BlinkingLight object as a custom control that looks like box with an LED light that has an animatio...
I have a TextBlock in a Grid with its Padding attribute set to 5. Sometimes the last character is cut off, depending on what string the Text property is set to.
<UserControl
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="SomeClass">
<Scrol...
When scrolling the mouse wheel over a Dynamic Data Display (D3) for WPF, the chart zooms in both X & Y. Is there a way to prevent the scrolling of the Y axis?
Thanks in advance.
...
Hi,
Is there an easy way to position another control (i.e. a button) inline and to the right of tab headers in WPF?
In the web, I would use a float or absolute positioning to accomplish this.
The red line in this picture is what I am trying to get to:
Thanks!
Jon
...
Hi,
I have a program where I need the user to input data in a datagrid. I though the simple act of setting the 'CanUserAddRows' would be enough to let the user add new rows, but it seem that it won't cut it.
Is there something else I need to define to make them work? My datagrid have combo boxes and textboxes in them so it's pretty co...
Does anyone know how to do this? I am really surprised at the scarce documentation/sample code for the WPF GridView (ListView View=GridView).
...
As far as I know, everything done in XAML can be done in C#.
Why XAML is compiled in BAML and not in C# ? Wouldn't be more efficient to parse the XAML a compile-time and create the corresponding C# code ?
...
Here's the scenario:
I have the following user control, the idea is that it's view model should be able to signal to the view that it needs to "Activate the Glow", thereby playing the Storyboard.
<UserControl x:Class="View.UnitView" ... >
...
<Storyboard x:Key="ActivateGlow">
...
</Storyboard>
...
<!-- INVALI...
I've got a grid that has 7 rows in it.
Row 0 is a group of 2 buttons
Row 1 is a ListBox of objects
Row 2 is a group of 3 buttons
Row 3 is a group of 2 buttons
Row 4 is where my GridSplitter lives
Row 5 is a group of 2 buttons
Row 6 is a ListBox of objects
I want the GridSplitter to slide up and down, resizing each of the two ListBox's. ...
So, I've spent a good amount of time using ContinuousLinq to bind collections to WPF using LINQ in my client app. Now I get to testing and find out that ComboBoxes do not support collection change notifications cross-thread.
Does anyone know of a Bindable LINQ solution that has an option to force change event to be raised on a given UIT...
Hello,
I'm trying to create a context menu for a list box which displays elements in the context menu from the list box. I am able to accomplish this by using the following XAML:
<Window.Resources>
<ContextMenu x:Key="contextMenu"
ItemsSource="{Binding Items,
RelativeSource={RelativeSource FindAn...
So obviously I am doing something wrong, but I just cannot seem to get the HierarchicalDataTemplate (or even just DataTemplate) to work when using the DataType property. I have created the shortest possible WPF application to demonstrate the problem.
XAML:
<Window x:Class="WpfApplication1.Window1"
xmlns="http://schemas.microsoft.c...
Hi Friends.
I am a little new to wpf.
I wanna write a control similar to ComboBox and I'm wondering if anybody knows how to get noticed when a user clicks not inside the combobox boundries. Because combobox closes it's dropdown in this situation.
...
I have a WPF project with a border using the following style. The plan is to get the glow effect to fade in when the mouse moves over the border, and fade out when it leaves.
<Style.Resources>
<Storyboard x:Key="GlowOn">
<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetProperty="(DropShadowEffect.Opaci...
In this example property
Data=
M150.655,
39.109L10.407,
53.785L0.602,
1.309l158.026-0.806L150.655,
39.109z
How this "Data" property works? and use of these 5 values?
<
Style x:Key="ButtonStyler"
TargetType="{x:Type Button}">
<Setter Property="Cursor"
Value="Hand" />
<Setter Property="Template">
<Setter.Value>
<Con...