<StackPanel Grid.Row="0" Height="Auto" Width="Auto">
<Label Name="Label1" BorderThickness="2,2,2,2" BorderBrush="Gray" HorizontalContentAlignment="Center" Width="Auto" Height="28">Window1</Label>
<ListView BorderThickness="2,0,2,0" BorderBrush="Gray" Height="Auto" Width="Auto"> ...
Hello, does anyone can say, how to simply put values from DataTable to DevExpress comboBoxEdit Items. In WinForms it was simply like that:
dtCat = SqlHelper.GetTable("base_UserCategory_Select", new string[] {});
DataRow dr = dtCat.NewRow();
dr["UserCategoryID"] = 0;
dr["CategoryName"] = "< All >";
dr["IsSystem"] = "Fa...
I am searching for good samples for WPF that gives rich look and feel in WPF. Like for example a fancy TreeView Control with icons ..or Outllok like layout...
Samples that shows the real power of WPF in terms of rich look and feel..
...
Hello,
I want to create a ColumnSeries Bar Chart in WPF using C#.
I shall extract the data from the database and want to bind it to the bar chart.
The data extracted will contain two values. First is parameter name(string) and the other is its value(double).
Which type of collection shall i use? and how to do the binding?
Thanks in adva...
Can I deploy an XBAP without signing in full trust?
...
I would like to create a background for my window which is an image that i want repeated horizontally. So far I've tried with the ImageBrush, but this option repeats the image horizonally and vertically. Also, i don't want it to scale when user resize the window, as it makes the image look funny.
any ideas?
...
Hi,
How can i define SystemParameters.FocusVisual style to null for the whole application. that is on window level.
Please help.
Thanks,
...
I'm binding a collection of objects to a listbox in WPF, for simplicity we'll say the object i'm binding has 3 propertys: Name, URL, IsBold. What I want to do, is have it displayed different if the IsBold is set to true, again as an example I want to set the TextBlock that Name appears in, to be bold. Is something like this even possib...
The problem: I am not getting a textbox setting that will have a horizontally wordwrap and vertically auto grow functionality. I ...
Hi,
I have a Datagrid, which i have a Hyperlink column as
When user ...
In PHP web programming, I always made a singleton Output object in which I could put global information that had to be available from any line of code.
So in WPF applications, I create the following class to perform the same function, e.g. the variable ReturnToPageIdCode returns the page to which another page is supposed to return to af...
I bind my datagrid using
//fill datagrid
public DataTable GameData
{
get
{
DataSet ds = new DataSet();
FileStream fs = new FileStream(IMDB.WebPage.Class.Config.XMLPath,
FileMode.Open, FileAccess.Read);
StreamReader reader = new StreamReader(fs, Encoding.Default);
...
I am doing some transition animation using WPF and Blend 3. I have two outer usercontrols which is what I want the transition effect to happen on. Using Blend I can make this effect. The problem is however, that I dont know how to trigger this animation inside one of those usercontrols. The storyboard is only in scope for the window hold...
I use the following code to bind an arraylist to a datagrid
//fill datagrid
public DataTable configData
{
get
{
DataSet dsTemp = new DataSet();
DataTable Tables = new DataTable();
dsTemp.Tables.Add(Tables);
dsTemp.Tables[0].Columns.Add("val", System.Type.GetType(
...
I want to use GraphViz in my WPF application without installing Graphviz.
Does AT&T (or somebody else) distribute such a DLL?
Thanks,
Kemal
...
Hello,
I'm creating a custom UserControl to be used inside a DataGrid editing template.
It looks like this:
<UserControl
x:Class="HR.Controls.UserPicker"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:tk="http://schemas.microsoft.com/wpf/2008/toolkit"
xmlns:x="http://schemas.microsoft.com/winfx/2006/...
I have a combobox bound to a ViewModel property called "Property".
"Property" is a TypeDescriptor.
When user changes value in combobox the "Property" is updated.
On the UI i would like to either hide or make visible different controls: textbox, combobox, date picker etc.
Problem is datatrigger is not working as expected.
<Style x:Ke...
I have a relatively large C#/WPF Visual Studio 2008 solution that I am trying to test and synchronize across 2 developer's computers. On my computer, I am able to build and debug (run) the project successfully without errors.
On the second computer, I am able to build the solution without any errors. When I attempt to run the solution,...
Is there a way to check in code if a resource exists at an Uri such as:
"pack://application:,,,/MyResource.jpg"
...
Hi Guys
I have a read only control that displays a calculation from other information in a datagrid. The binding it has works as far as displaying updated data as cell entries are made.
I do need to show visually when the calculation is above a given threshold. It is a read-only control (label, actually) though. How can I go about doin...