Questions tagged [elementname]

Gets or sets the name of the element to use as the wpf binding source object.

Binding.ElementName Property is useful when you want to bind to the property of another element in your application.

37 questions
0
votes
1 answer

Binding ElementName

First Sorry for my English. I wanted to ask why ElementName does not work the first case, and work in the second. I give the two sections of code . the firts not work
zvi
  • 53
  • 2
  • 4
0
votes
1 answer

XML Parsing with Java:

Possible Duplicate: how to retrieve element value of XML using Java? I am trying to parse a xml file with java using dom. The xml looks like this: Circular
Metalhead89
  • 1,740
  • 9
  • 30
  • 58
0
votes
1 answer

Element binding broken in dynamically added child

I have created a Popup control in WPF which dynamically creates a popup and adds it to the first child in the display tree. Within the popup's content (PopupContent), binding works but element binding seems to be broken. I am blaming this on the…
Brian
  • 6,910
  • 8
  • 44
  • 82
0
votes
1 answer

Caliburn Micro: ElementName for ComboBox in DataGrid not working

my problem is that the ItemsSource of a ComboBox in an DataGrid is not binding. My UserControl:
André
  • 45
  • 1
  • 7
-1
votes
3 answers

WPF TextBox Binding ElementName null?

I have a ListBox control with TypeUsers.When I select some record in Listbox and update Name in TextBox the Name property/textbox return always null. Never take value from TextBox, always null ? Image description here This is my code
redux17
  • 665
  • 5
  • 11
  • 30
-2
votes
1 answer

WPF ElementName not initialized in time

In my MVVM model I have named a UserControl like: x:Name="root" In my viewmodel have a bool called AllChecked and as the name indicates this should be bound to a checkbox in the xaml file indicating whether all rows in a datagrid should be checked…
martints
  • 25
  • 5
1 2
3