Skip to content

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

Open
@agneszitte

Description

@agneszitte

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions