Click here to Skip to main content
15,891,431 members
Home / Discussions / WPF
   

WPF

 
QuestionDetecting the CellText,Selected length, Cursor position on edit mode in WPF datagrid. Pin
kartheesh29-Jun-10 4:19
kartheesh29-Jun-10 4:19 
AnswerRe: Detecting the CellText,Selected length, Cursor position on edit mode in WPF datagrid. Pin
Abhinav S29-Jun-10 20:30
Abhinav S29-Jun-10 20:30 
AnswerRe: Detecting the CellText,Selected length, Cursor position on edit mode in WPF datagrid. Pin
Pete O'Hanlon29-Jun-10 22:15
mvePete O'Hanlon29-Jun-10 22:15 
GeneralRe: Detecting the CellText,Selected length, Cursor position on edit mode in WPF datagrid. Pin
kartheesh29-Jun-10 22:58
kartheesh29-Jun-10 22:58 
GeneralRe: Detecting the CellText,Selected length, Cursor position on edit mode in WPF datagrid. Pin
Pete O'Hanlon30-Jun-10 7:05
mvePete O'Hanlon30-Jun-10 7:05 
GeneralRe: Detecting the CellText,Selected length, Cursor position on edit mode in WPF datagrid. Pin
kartheesh1-Jul-10 18:56
kartheesh1-Jul-10 18:56 
GeneralRe: Detecting the CellText,Selected length, Cursor position on edit mode in WPF datagrid. Pin
Pete O'Hanlon1-Jul-10 11:59
mvePete O'Hanlon1-Jul-10 11:59 
QuestionHow do you generate classes from XAML in Visual Studio 2008? Pin
Xarzu28-Jun-10 12:31
Xarzu28-Jun-10 12:31 
How do you generate classes from XAML in Visual Studio 2008?

I have a Silverlight project. The XAML has been written in Expression Blend. I am told that I can use Visual Studio to use the grid classes in the Page.xaml file (the whole solution is loaded into Visual Studio) to generate the .CS (C#) files in Visual Studio 2008 that correspond to the several <grid> classes in the XAML. How is this done? Is there a wizard somewhere that will do this for me? Do I have to do this by hand?

When I open the Page.Xaml file and click on the name of the <grid> node, (x:Name) and select, to view code, it takes me to a file without much meat on it:

public partial class Page : UserControl
{
    public Page()
    {
        InitializeComponent();
    }
}


Since each <grid> contains a lot of components, I was expecting more.

Am I supposed to expand on this class by hand and code all the methods for this "Page" class? Is there a tutorial that shows how to do this?

There are so many videos to look at http://expression.microsoft.com/en-us/cc197141.aspx but they all seem to be focused on Expression Blend rather than how to use the XAML from Expression Blend to make Classes or to build on these classes.

On the other hand, are their example or sample code of how to take a "public partial class Page : UserControl" in C# and build from it?
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
mve#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
mve#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 
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 

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.