Click here to Skip to main content
15,913,836 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: How do you generate classes from XAML in Visual Studio 2008? Pin
Abhinav S28-Jun-10 18:41
Abhinav S28-Jun-10 18:41 
AnswerRe: How do you generate classes from XAML in Visual Studio 2008? Pin
#realJSOP29-Jun-10 2:26
professional#realJSOP29-Jun-10 2:26 
AnswerRe: How do you generate classes from XAML in Visual Studio 2008? Pin
Pete O'Hanlon29-Jun-10 2:51
mvePete O'Hanlon29-Jun-10 2:51 
Questionwhy wcf use basicHttpBinding instead of wsHttpBinding Pin
ctlqt1228-Jun-10 9:44
ctlqt1228-Jun-10 9:44 
AnswerRe: why wcf use basicHttpBinding instead of wsHttpBinding Pin
Abhinav S28-Jun-10 18:35
Abhinav S28-Jun-10 18:35 
QuestionVS2008 Doesn't Allow Debugging of Silverlight apps [SOLVED] Pin
#realJSOP27-Jun-10 2:13
professional#realJSOP27-Jun-10 2:13 
AnswerRe: VS2008 Doesn't Allow Debugging of Silverlight apps Pin
Abhinav S27-Jun-10 7:12
Abhinav S27-Jun-10 7:12 
QuestionBegginer - Binding object in XAML Pin
ekimpl26-Jun-10 0:40
ekimpl26-Jun-10 0:40 
Hi, this thing is killing me..

I have object drag of type Field and I would like to bind it to a productsDataGrid's property Drag in XAML. In codebehind it all works well :

public class Field : INotifyPropertyChanged
 {
   ...
   public string Value
   ...
 }


public partial class MainPage : UserControl
   {
       public Field drag;

       public MainPage()
       {
           drag = new Field();
           drag.Value = "true";
           productsDataGrid.Drag = drag;


but in XAML it's not.

<cont:DragGrid Name="productsDataGrid" Drag="{Binding drag, Path=Value}"/>


How to set this binding correct ?
AnswerRe: Begginer - Binding object in XAML Pin
Pete O'Hanlon26-Jun-10 2:35
mvePete O'Hanlon26-Jun-10 2:35 
GeneralRe: Begginer - Binding object in XAML [modified] Pin
ekimpl26-Jun-10 3:28
ekimpl26-Jun-10 3:28 
AnswerRe: Begginer - Binding object in XAML Pin
Abhinav S26-Jun-10 5:53
Abhinav S26-Jun-10 5:53 
GeneralRe: Begginer - Binding object in XAML Pin
ekimpl26-Jun-10 6:08
ekimpl26-Jun-10 6:08 
GeneralRe: Begginer - Binding object in XAML Pin
Abhinav S26-Jun-10 6:20
Abhinav S26-Jun-10 6:20 
GeneralRe: Begginer - Binding object in XAML Pin
ekimpl26-Jun-10 6:30
ekimpl26-Jun-10 6:30 
GeneralRe: Begginer - Binding object in XAML Pin
Pete O'Hanlon26-Jun-10 6:57
mvePete O'Hanlon26-Jun-10 6:57 
GeneralRe: Begginer - Binding object in XAML Pin
ekimpl26-Jun-10 7:15
ekimpl26-Jun-10 7:15 
GeneralRe: Begginer - Binding object in XAML Pin
Pete O'Hanlon26-Jun-10 9:05
mvePete O'Hanlon26-Jun-10 9:05 
GeneralRe: Begginer - Binding object in XAML Pin
Abhinav S26-Jun-10 17:25
Abhinav S26-Jun-10 17:25 
GeneralRe: Begginer - Binding object in XAML Pin
ekimpl26-Jun-10 19:38
ekimpl26-Jun-10 19:38 
GeneralRe: Begginer - Binding object in XAML Pin
Abhinav S26-Jun-10 19:54
Abhinav S26-Jun-10 19:54 
QuestionArrange controls inside a user control in wpf Pin
dashingsidds25-Jun-10 3:32
dashingsidds25-Jun-10 3:32 
AnswerRe: Arrange controls inside a user control in wpf Pin
Pete O'Hanlon25-Jun-10 4:00
mvePete O'Hanlon25-Jun-10 4:00 
GeneralRe: Arrange controls inside a user control in wpf Pin
dashingsidds27-Jun-10 18:33
dashingsidds27-Jun-10 18:33 
GeneralRe: Arrange controls inside a user control in wpf Pin
BechBej5-Jul-10 10:01
BechBej5-Jul-10 10:01 
GeneralRe: Arrange controls inside a user control in wpf Pin
dashingsidds5-Jul-10 18:23
dashingsidds5-Jul-10 18:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.