Questions tagged [binding-expressions]

The Binding class is the high-level class for the declaration of a binding. The BindingExpression class is the underlying object that maintains the connection between the binding source and the binding target. A Binding contains all the information that can be shared across several BindingExpression objects. A BindingExpression is an instance expression that cannot be shared and that contains all the instance information about the Binding. Used in WPF.

22 questions
0
votes
2 answers

How can I get a template binding expression as string in Angular2?

Is there any way to get the string "myModel" in my component? import { Component } from '@angular/core'; @Component({ selector: 'my-app', template: `` }) export class AppComponent { // how can I access…
Shackles
  • 1,264
  • 1
  • 19
  • 40
0
votes
1 answer

Getting binding expressions from code behind from Datatemplate Triggers

I've been set to maintain a wpf application where there is a listbox for logging purposes. The items displayed using listbox are of type TextMessage, i.e. the listbox is bound to these text messages via ObservableCollection
Metscore
  • 33
  • 1
  • 3
0
votes
1 answer

Writing multiple If statement using ASP.NET binding expression

I need to use triple nested if statement using ASP.NET Web forms binding expression. I have tried the following: $…
perkes456
  • 1,163
  • 4
  • 25
  • 49
0
votes
1 answer

Need help resolving a BindingExpression issue

I have this style:
0
votes
2 answers

Strange BindingExpression path error with ContentPresenter

In my program I have a mainWindow that contains a contentPresenter. The mainWindow has a ViewModel called MainWindowViewModel. This viewModel contains properties that are bound to items in the mainWindow. The Content of my contentPresenter is…
Eric after dark
  • 1,768
  • 4
  • 31
  • 79
0
votes
0 answers

Resolve DependencyObject through binding from source property

For my example let's say I have this in my DataContext : public object SomeProperty { get; set{ .... PropertyChanged(....); } } XAML :
eran otzap
  • 12,293
  • 20
  • 84
  • 139
0
votes
1 answer

Get Dependecy Property from Binding expression

I have a Binding expression object: //e come from Validation.Error event BindingExpression _bindingExpression = e.Error.BindingInError as BindingExpression; I want to get the Dependecy Property. For example, if the bindingExpression is a text of…
Hodaya Shalom
  • 4,327
  • 12
  • 57
  • 111
1
2