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
{{ message }}
Repository navigation
How to bind Shell Title to a Label inside Shell.TitleView?
#35731
The Issue:
I want to bind the page's title directly to the Label.Text within the TitleView. As you can see, I tried referencing the Shell directly using Source={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:
Framework: .NET MAUI 10
SDK: 10.0.100
Has anyone successfully bound the Shell Title within a TitleView this way? If so, could you please share the proper way to set up this binding?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
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!
All reactions