Questions tagged [binding]
This tag means different things in different contexts; consider using less ambiguous tags instead or in addition. Common meanings include: Dependency-Injection and Data Binding to Objects and Bindings between components of an Application.
binding
17,306
questions
0
votes
0
answers
6
views
WPF DevExpress Adding hierarchical data template not binding well
Hello I have simple code for Competency and SubCompetencies.
Here is code-behind:
using System.Collections.ObjectModel;
using System.Linq;
using System.Windows.Controls;
namespace opr.Pages
{
...
0
votes
0
answers
19
views
Binding to parent control with context menu in UWP (WinUI 3)
I am trying to make a context fold out menu on a list box component, it has a simple but i can't manage to get the binding for command paramter to work.
Here is a simplified view of my user control ...
0
votes
0
answers
30
views
WPF databinding *sometimes* binds wrong element
I have a very strange issue with an WPF (.NET 7.0) project.
I use databinding to display elements of an (ordered) list in a WrapPanel:
foreach (DatenElement element in BruteForce_Ordered.Do(randomData....
0
votes
0
answers
50
views
How to use binding variables in an Oracle query? [duplicate]
I have an Oracle query written using binding variables:
SELECT
t.id ID,
t.name NAME,
sum(CASE WHEN t.BE_VALIDTO IS NULL AND t.DATE >= :StartDate AND t.DATE <= :EndDate and t.TYPE in (...
2
votes
0
answers
61
views
Images missing after navigating WinUI3/UWP
so I have a ListView with items. The DataTemplate contains a Rectangle. The Fill Brush is binded via a Converter which returns a new ImageBrush if the binded url is not null. If it is though the ...
0
votes
0
answers
27
views
Pybind11: typedef and incompatible function arguments error
In c++ I defined:
typedef std::tuple<int, int, int> Type;
typedef std::tuple<int, int, int, int> Shape;
class Properties {
public:
Properties() {}
Properties(Type t_, Shape s_) : ...
-1
votes
1
answer
47
views
Binding the property name is not loading but others are from the grid
I am using the correct binding name for my property as it matches the one in the table from the database, other names do show and load data. What else could be the problem on my binding this name ...
0
votes
0
answers
14
views
How can I fix the 'Unexpected tokens' error when enabling ViewBinding in build.gradle?
I'm trying to add the ViewBinding feature in the app's build.gradle file as per the official Android documentation, but I'm not getting the desired output. Instead, I'm encountering the error "...
0
votes
1
answer
36
views
Binding taskbar's text to parent window's view model in WinUI 3
I have a taskbar "UserHomeTaskBar" embedded in parent window "WindowUserHomeView", I want to use x:bind for binding the taskbar's date/time text to parent window's view model "...
0
votes
2
answers
66
views
How to make view reflect binding object's properties changing internally in SwiftUI?
In this code below, I want the TextField value to be cleared when the button is selected and the object's clear method is called (in reality, my class has many properties so I feel like clearing them ...
1
vote
1
answer
39
views
Basic ComboBoxItem Binding Programmatically In C# WPF
I am trying to change ComboBoxItem Template Programmatically
//Main Style
Style style = new Style() { TargetType = typeof(ComboBoxItem) };
//Set Template
ControlTemplate temp = new ControlTemplate(...
0
votes
0
answers
35
views
how to bind zeromq (libzmq.dylib) with mql 5 on macOS
I am trying to write a trading bot using C++ in vscode which will be connected to metatrader 5 via binding (zeromq) on macOS. But after I installed brew install zeromq and also moved the zmq.h to :
&...
0
votes
0
answers
49
views
WPF combo box nothing shows for selected item
Hi I have a problem in display selected item of combo box in a data grid. in this code nothing show in combo box as selected item.
this is my xaml :
<...
0
votes
2
answers
91
views
WPF C# Progressbar binding to Datagrid row
In my Datagrid there is a column in which there are Progressbars, each of which must change independently of the others when I refer to a particular row in a given Datagrid.
When trying to refer to a ...
0
votes
1
answer
56
views
How to bind a label widget using Tkinter so whenever the user types over a specific key on his/her keyboard it gets highlighted? Python Typing Game
I'm building a Typing Speed Game using Python and I've been facing a problem while binding some widgets.
I took as an inspiration the following video from Youtube: https://www.youtube.com/watch?v=...