python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
UserControl DependencyProperty Value always 0 when bound to ViewModel Property
I have a simple UserControl with 3 Dependency Properties. Day, Month and Year.
public static readonly DependencyProperty DayProperty = DependencyProperty.Register("Day", typeof(int), typeof(...
SevenSins
Votes: 0
Answers: 1
Bind view models' property to dependency property
I have created reusable components let's say a label and a textbox:
HeaderAndTextBox.xaml
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="auto" />
...
drazse
Votes: 0
Answers: 1
WPF PropertyDependency Binding To Different Types
type here
userControl code
public double Version
{
get { return (double)GetValue(VersionProperty); }
set
{
SetValue(VersionProperty,...
リムウェイ チェン
Votes: 0
Answers: 1
UWP ObservableCollection DependencyProperty
I have a UWP UserControl with the following DependencyProperty defined:
public sealed partial class ToolBarModule : UserControl {
public ToolBarModule() {
this.InitializeComponent();
...
Leigh
Votes: 0
Answers: 1