Skip to content

How to bind a value for a SemanticDescription within a DataTemplate? #369

Answered by TheCodeTraveler
mrlacey asked this question in Q&A
Discussion options

You must be logged in to vote

You would bind to the BindableProperty in Semantic Description

.Bind(SemanticProperties.DescriptionProperty, nameof(YourModel.YourProperty))

https://learn.microsoft.com/en-us/dotnet/api/microsoft.maui.controls.semanticproperties.descriptionproperty?view=net-maui-9.0

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@bijington
Comment options

@TheCodeTraveler
Comment options

Answer selected by mrlacey
@mrlacey
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants