You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attached is a sample of how we wish to use x:Bind to assign resource values to xaml controls. Functionality is present in UWP, but not in any other platform.
<Pagexmlns:sys="using:System"xmlns:local="using:MyNamespace">
...
<CalendarDatePickerDate="{x:Bind sys:DateTime.Parse(TextBlock1.Text)}" />
<TextBlockText="{x:Bind sys:String.Format('{0} is now available in {1}', local:MyPage.personName, local:MyPage.location)}" />
</Page>
Activity
jeromelaban commentedon Jan 23, 2019
Add support for this as well:
https://github.com/nventive/Uno.Xaml-Controls-Gallery/blob/d10e2f455f34a2948e268b84ceca6b032ecce159/XamlControlsGallery/ControlPages/ComboBoxPage.xaml#L49
peternary commentedon Aug 6, 2019
StaticBindSample.zip
Attached is a sample of how we wish to use x:Bind to assign resource values to xaml controls. Functionality is present in UWP, but not in any other platform.
Massimo37 commentedon Dec 9, 2019
A quick summary of how x:Bind is handled in UWP:..
Function binding using a function from the code-behind:
Function binding using a static function:
Function binding using a static system function:
Function binding using a two-way binding:
Important points with regards to how UWP handles x:Bind on functions:
The function being bound to needs to:
Multiple function arguments can be specified, separated by comma's (,)
Merge pull request unoplatform#347 from unoplatform/dev/madi/int/togg…