Click here to Skip to main content
15,906,645 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: open a window application when window service starts Pin
madanbhanu3-Aug-12 21:53
madanbhanu3-Aug-12 21:53 
AnswerRe: open a window application when window service starts Pin
Dave Kreskowiak4-Aug-12 4:56
mveDave Kreskowiak4-Aug-12 4:56 
GeneralRe: open a window application when window service starts Pin
madanbhanu5-Aug-12 20:43
madanbhanu5-Aug-12 20:43 
AnswerRe: open a window application when window service starts Pin
Eddy Vluggen5-Aug-12 23:26
professionalEddy Vluggen5-Aug-12 23:26 
GeneralRe: open a window application when window service starts Pin
Dave Kreskowiak6-Aug-12 1:54
mveDave Kreskowiak6-Aug-12 1:54 
AnswerRe: open a window application when window service starts Pin
Bernhard Hiller5-Aug-12 22:37
Bernhard Hiller5-Aug-12 22:37 
AnswerRe: open a window application when window service starts Pin
Pete O'Hanlon6-Aug-12 2:14
mvePete O'Hanlon6-Aug-12 2:14 
QuestionWorking with WPF Pin
Member 82251801-Aug-12 9:37
Member 82251801-Aug-12 9:37 
I am currently learning WPF and require some assistance in understanding some main concepts...


My XAML contains numerous GUI elements, one being a DataGrid called 'dataGrid1'

The DataGrid is populated in the main window using the following code fragment:

MyDataGrid gridData = new MyDataGrid();
gridData.PopulateData();
dataGrid1.DataContext = gridData.dt;


MyDataGrid is a class that is composed of a DataTable exposed through dt. PopulateData() performs a LINQ query on an EF context.

The code above works fine and the grid shows the query results.


What if I wanted to create a class which derives from DataGrid. How would such a class be accessible/linked/represented in the XAML?
A reader from Montreal, Canada

AnswerRe: Working with WPF Pin
Ed Hill _5_1-Aug-12 22:12
Ed Hill _5_1-Aug-12 22:12 
GeneralRe: Working with WPF Pin
Member 82251802-Aug-12 11:00
Member 82251802-Aug-12 11:00 
GeneralRe: Working with WPF Pin
Ed Hill _5_2-Aug-12 22:49
Ed Hill _5_2-Aug-12 22:49 
GeneralRe: Working with WPF Pin
Member 82251806-Aug-12 9:06
Member 82251806-Aug-12 9:06 
GeneralRe: Working with WPF Pin
Ed Hill _5_6-Aug-12 23:25
Ed Hill _5_6-Aug-12 23:25 
GeneralRe: Working with WPF Pin
Member 82251808-Aug-12 4:28
Member 82251808-Aug-12 4:28 
GeneralRe: Working with WPF Pin
Member 822518015-Aug-12 10:59
Member 822518015-Aug-12 10:59 
GeneralRe: Working with WPF Pin
Ed Hill _5_15-Aug-12 22:10
Ed Hill _5_15-Aug-12 22:10 
GeneralRe: Working with WPF Pin
Ed Hill _5_16-Aug-12 0:08
Ed Hill _5_16-Aug-12 0:08 
GeneralRe: Working with WPF Pin
Member 822518016-Aug-12 2:09
Member 822518016-Aug-12 2:09 
QuestionDynamic properties from Com Interop Pin
Bob Jiang30-Jul-12 5:04
Bob Jiang30-Jul-12 5:04 
AnswerRe: Dynamic properties from Com Interop Pin
Abhinav S30-Jul-12 6:19
Abhinav S30-Jul-12 6:19 
AnswerRe: Dynamic properties from Com Interop Pin
Pete O'Hanlon31-Jul-12 5:08
mvePete O'Hanlon31-Jul-12 5:08 
GeneralRe: Dynamic properties from Com Interop Pin
Bob Jiang31-Jul-12 5:29
Bob Jiang31-Jul-12 5:29 
GeneralRe: Dynamic properties from Com Interop Pin
Pete O'Hanlon31-Jul-12 5:32
mvePete O'Hanlon31-Jul-12 5:32 
QuestionRijndaelManaged Padding is invalid and cannot be removed Pin
Member 906777730-Jul-12 3:28
Member 906777730-Jul-12 3:28 
AnswerRe: RijndaelManaged Padding is invalid and cannot be removed Pin
Dave Kreskowiak31-Jul-12 4:35
mveDave Kreskowiak31-Jul-12 4:35 

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.