I've an IValue converter which returns Thickness Value . Now In my code behind I've a Layout which I want to bind with the Padding and IValueConverter.
Here's my code for the Background Color
mainLayout.SetBinding(VisualElement.BackgroundColorProperty, new Binding(".", BindingMode.Default, new IBackgroundConverter(), CommentsPage._commentsList));
In that control I've a Visual Element which is used to target the BackGroundColorProperty . Now come to the question that how to access the PaddingProperty in the above line .
Answers
Sorry, I think your question is bit confuse.
You ask about Padding and then you post BackgroundColorProperty...
@AlessandroCaliaro thanks for the reply . I've found the answer .We can access the PaddingProperty with the help of Layout
that is Layout.PaddingProperty
just like VisualElement.BackgroundColorProperty .
Thanks