How to bind Shell Title to a Label inside Shell.TitleView? #35731
Unanswered
PallavKoshiya
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I am trying to use the standard Shell
Titleproperty inside a customShell.TitleView, but the binding doesn't seem to be resolving.Here is the XAML snippet I'm currently working with:
The Issue:
I want to bind the page's title directly to the
Label.Textwithin theTitleView. As you can see, I tried referencing the Shell directly usingSource={x:Reference Shell}, but it's not picking up the value.I haven't done deep debugging on this yet, but I've tried a few alternative binding approaches and none have worked so far.
Environment:
Has anyone successfully bound the Shell Title within a
TitleViewthis way? If so, could you please share the proper way to set up this binding?Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions