Click here to Skip to main content
15,892,161 members
Home / Discussions / WPF
   

WPF

 
QuestionGraph Control in WPF Pin
arun_pk20-Jun-10 23:45
arun_pk20-Jun-10 23:45 
AnswerRe: Graph Control in WPF Pin
Michael Eber22-Jun-10 6:10
Michael Eber22-Jun-10 6:10 
QuestionSilverlight Toolkit Charting Question [SOLVED] Pin
#realJSOP18-Jun-10 12:44
mve#realJSOP18-Jun-10 12:44 
QuestionWPF: Get offical height by auto-height Pin
tcs-198618-Jun-10 10:51
tcs-198618-Jun-10 10:51 
AnswerRe: WPF: Get offical height by auto-height Pin
Abhinav S19-Jun-10 6:56
Abhinav S19-Jun-10 6:56 
Questionsilverlight web text editor Pin
I_risho18-Jun-10 0:04
I_risho18-Jun-10 0:04 
AnswerRe: silverlight web text editor Pin
Abhinav S19-Jun-10 6:52
Abhinav S19-Jun-10 6:52 
QuestionDataGrid hides Elements Pin
danieln5516-Jun-10 23:54
danieln5516-Jun-10 23:54 
Hi together,

I use the DataGrid-Control to display the content of the ObservableCollection<Node> CriteriaNodes, where the class "Node" contains some properties such as Title, Description, Value, etc.

When I run the project, the ObservableCollection is filled with 13 Node-Objects and, afterward, the Binding is set with
MyNodeGrid.ItemsSource = CriteriaNodes;

The loaded DataGrid now shows only the column-headers of the Node-Objects. When I create new Nodes at runtime, they are added BELOW 13 lines of free space in the DataGrid! When I order alphabetically, I can see some of my initialized 13 Nodes in those new lines.

I don't understand this strange behavior and would be grateful for help. Below is the constructor of the Code-Behind-class.

Daniel


public partial class RetrievingControl : UserControl
{
    BusinessMain MyBusinessMain;

    public ObservableCollection<Node> CriteriaNodes { get; set; }
    public ObservableCollection<Node> AlternativeNodes { get; set; }
    public ObservableCollection<Node> StakeholderNodes { get; set; }

    public RetrievingControl(BusinessMain pBusinessMain)
    {
        MyBusinessMain = pBusinessMain;

        CriteriaNodes = MyBusinessMain.CurrentProject.CriteriaNodes;
        AlternativeNodes = MyBusinessMain.CurrentProject.AlternativeNodes;
        StakeholderNodes = MyBusinessMain.CurrentProject.StakeholderNodes;

        InitializeComponent();
        MyNodeGrid.ItemsSource = CriteriaNodes;
    }

.. and the XAML-Part:

...
xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data"
...
<data:DataGrid x:Name="MyNodeGrid" AutoGenerateColumns="True" </data:DataGrid> 
...         

Questionhow to resolve this pop up Error saying :'this._postBackSettings.async' is null or not an object. Pin
Ch.Gayatri Subudhi16-Jun-10 18:06
Ch.Gayatri Subudhi16-Jun-10 18:06 
AnswerRe: how to resolve this pop up Error saying :'this._postBackSettings.async' is null or not an object. Pin
Abhinav S16-Jun-10 18:23
Abhinav S16-Jun-10 18:23 
AnswerRe: how to resolve this pop up Error saying :'this._postBackSettings.async' is null or not an object. Pin
Ch.Gayatri Subudhi16-Jun-10 18:30
Ch.Gayatri Subudhi16-Jun-10 18:30 
QuestionReportDataSource name and value using WPF Pin
NCZIMM16-Jun-10 12:14
NCZIMM16-Jun-10 12:14 
QuestionXamlWriter and UserControl Pin
Fabrizio Camagna16-Jun-10 7:30
Fabrizio Camagna16-Jun-10 7:30 
QuestionSilverlight editor with wpf or windows form application Pin
Fabrizio Camagna14-Jun-10 11:32
Fabrizio Camagna14-Jun-10 11:32 
QuestionWrite Silverlight editor with WPF application Pin
Fabrizio Camagna14-Jun-10 11:30
Fabrizio Camagna14-Jun-10 11:30 
AnswerDuplicated question. Pin
Pete O'Hanlon14-Jun-10 22:18
mvePete O'Hanlon14-Jun-10 22:18 
Questionfolder tree in silverlight Pin
I_risho14-Jun-10 7:49
I_risho14-Jun-10 7:49 
AnswerRe: folder tree in silverlight Pin
Abhinav S14-Jun-10 22:34
Abhinav S14-Jun-10 22:34 
QuestionI need to diplay an image in silverlight image tag while combobox selceted item. Pin
Ch.Gayatri Subudhi13-Jun-10 18:31
Ch.Gayatri Subudhi13-Jun-10 18:31 
GeneralRe: I need to display an image in silverlight image tag while combobox selected item. Pin
Arun Jacob13-Jun-10 19:01
Arun Jacob13-Jun-10 19:01 
GeneralRe: I need to display an image in silverlight image tag while combobox selected item. Pin
Ch.Gayatri Subudhi13-Jun-10 19:18
Ch.Gayatri Subudhi13-Jun-10 19:18 
AnswerRe: I need to display an image in silverlight image tag while combobox selected item. Pin
Arun Jacob13-Jun-10 19:55
Arun Jacob13-Jun-10 19:55 
QuestionTemplate Pin
MrMcIntyre13-Jun-10 4:19
MrMcIntyre13-Jun-10 4:19 
QuestionNon Rectangular Window in WPF Help Pin
snouto13-Jun-10 0:22
snouto13-Jun-10 0:22 
AnswerRe: Non Rectangular Window in WPF Help Pin
Insincere Dave13-Jun-10 11:43
Insincere Dave13-Jun-10 11:43 

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.