[go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Run Text] No Text DependencyProperty available to be able to bind a value in code behind #8253

Open
agneszitte opened this issue Mar 6, 2023 · 1 comment
Labels
feature proposal New feature proposal team-Markup Issue for the Markup team

Comments

@agneszitte
Copy link
Contributor
agneszitte commented Mar 6, 2023

Describe the bug

No Text DependencyProperty available to be able to bind a value in code behind for Run like we are able to do in the XAML

Steps to reproduce the bug

Be able to Bind the Text property in code-behind like we are able to do in XAML

<TextBlock>
  <Run Text="Example:" />
  <Run Text="{Binding BindingExample}" />
</TextBlock>

Expected behavior

A Text DependencyProperty should be available to be able to bind a value in code behind for Run like we are able to do in XAML

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.3 Experimental 1: 1.3.230202101-experimental1

Windows version

Windows 11 (22H2): Build 22621

Additional context

No response

@agneszitte agneszitte added the bug Something isn't working label Mar 6, 2023
@gabbybilka gabbybilka added the needs-triage Issue needs to be triaged by the area owners label Mar 13, 2023
@bpulliam bpulliam added team-Markup Issue for the Markup team and removed needs-triage Issue needs to be triaged by the area owners labels Jul 7, 2023
@jeromelaban
Copy link

Some additional context for this issue, as part of Uno Platform 5.0, we're adding support for C# Markup a way to have a C# fluent friendly API to build WinUI apps, and we cannot replicate this XAML behavior easily, and our workaround is to use XamlReader which makes for a poorly performing solution.

@JesseCol JesseCol added feature proposal New feature proposal and removed bug Something isn't working labels Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature proposal New feature proposal team-Markup Issue for the Markup team
Projects
None yet
Development

No branches or pull requests

5 participants