No problem when binding to a property of string type ( "http://something.com" ). However , I seem to have seen in old examples direct binding to Uri property.
<dg:DataGridHyperlinkColumn IsReadOnly="True"
Header="Uri" Binding="{Binding Path=NavigURI}" />
NavigURI is Uri . More recent docs seem to require ...
Please refer this control
http://www.charlespetzold.com/blog/2009/10/Using-Text-Outlines-in-Silverlight.html
The formattedtext control is a shape which helps to generate the shape of the text with proper geometry. I would like to make this control act like a text box with cursors and features like typing in from keyboard.
Right now I us...
need to have flat border style for wpf based textbox... really surprised to see there is no easy way to get this like was in winforms textbox BorderStyle.FixedSingle
is there any easy way to get this done foir wpf textbox
...
Hi All
i am having a form which are having 4 lables and these lables value are displayed in the 4 textboxs, i am using MVVM and binding these textboxs with the Datatble which is coming through the typed dataset not the problem here is when i add a new row in the datatable with default values of columns and update ui by calling onpropert...
Hi ,
I have BindingList collection,
i want to add two event in the collection.
one is BeforeChange and another one is afterChange,
BeforeChange => Need to raise before we start editing the record.
AfterChange => Need to raise after editing completed.
...
I have written a WPF 4.0 windows application that consumes a .net 3.5 WebService. This works fine when the web service in hosted to allow anonymous connections, however the WebService I need to consume when we go live will be held within a website that has Integrated Authentication enabled.
The person running the WPF application will b...
Hi,
I am trying to learn something about WPF and I am quite amazed by its flexibility.
However, I have hit a problem with Styles and DataTemplates, which is little bit confusing.
I have defined below test page to play around a bit with styles etc and found that the Styles defined in <Page.Resources> for Border and TextBlock are not app...
I have been strugging with this for a while, it would have been simple to do in WindowForms.
I am making a IRC Client, there will be a number of Tabs one for each channel connect to.
Each Tab needs to show a number of things, UserList, MessageHistory, Topic.
In WindowForms i would just have inherited from TabItem, added some Custom Pro...
I developing WPF Application. Also I use WPF DataGrid in my app. I store columns visibility in XML file like
<ColumnSysName Visible="true" />
I want also to store columns order in the same file like
<ColumnSysName Visible="false" OrderIndexInDataGrid="3"/>
How can I do this?
Or Maybe you have your technics how to store order for WP...
I used following code
<!-- TreeView -->
<Style x:Key="{x:Type TreeView}" TargetType="TreeView">
<Setter Property="OverridesDefaultStyle" Value="True" />
<Setter Property="SnapsToDevicePixels" Value="True" />
<Setter Property="ScrollViewer.HorizontalS...
Hi,
I need some help with overlaying views using the prism framework.Its a little more complexed than that so let me explain.I could be over-thinking this as well :D
i have shell (wpf window) and i have 2 views(A & B - both usercontrols) in a module.
when the shell loads it loads view A. On view A i have a button to "popup" view B
for s...
Hi
So I have the following model:
public class Person
{
public String FirstName { get; set; }
public String LastName { get; set; }
public String Address { get; set; }
public String EMail { get; set; }
public String Phone { get; set; }
}
public class Order
{
public Person Pers { get; set;}
public Product Prod { get; s...
We have Win Forms application uses the 3rd party windows native controls. Can these controls used with WPF application?
...
I am looking for a free WPF Colour Picker/Wheel which has the ability to allow multiple colour selections. Does anything like this exist. The ones I have seen allow only one colour to be selected. I want to be able to easily select two or three colors.
...
Dear all,
is it possible for a WPF Label to split itself automatically into several lines? In my following example, the text is cropped at the right.
<Window x:Class="..." xmlns="..." xmlns:x="..." Height="300" Width="300">
<Grid>
<Label>
`_Twas brillig, and the slithy toves did gyre and gimble in the wabe:
...
Hello,
I made some changes with chart (WPF toolkit) component at the MS Blend 3.
A lot of stuff like this:
<Style x:Key="BoardsLineDataPointStyle" TargetType="{x:Type chartingToolkit:LineDataPoint}">
<Setter Property="Background" Value="Orange"/>
<Setter Property="Width" Value="{Binding Mode=OneWay, Path=Value}"/>
<Setter Property="Te...
I'm using Prism in my WPF application and up to now, I've been loading the modules via var moduleCatalog = new ConfigurationModuleCatalog();. I'd like to get the module catalog from a database. The Prism documentation indicates that this is possible, but it doesn't go into any details.
Has anyone done this and can provide some guidance?...
In WPF, I get a tooltip to appear immediately like this:
TextBlock tb = new TextBlock();
tb.Text = name;
ToolTip tt = new ToolTip();
tt.Content = "This is some info on " + name + ".";
tb.ToolTip = tt;
tt.Cursor = Cursors.Help;
ToolTipService.SetInitialShowDelay(tb, 0);
This makes the user experience better since if the user wants to l...
I'm creating the "Hello World" demo app for Microsoft Surface. Here's the XAML:
<s:SurfaceWindow x:Class="HelloWorld.SurfaceWindow1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:s="http://schemas.microsoft.com/surface/2008"
Title="HelloWor...
Hi all,
I have a class that contains data from some model. This class has metadata along with the actual value.
class ServerValue {
public int SomeId {get;}
public int SomeOtherId {get;}
public DateTime LastChanged {get;}
public object Value {get;set;}
// this lets me show the value, but how do i update it from...