false if the element and its children
should receive input;
Is there a property that set to true to make the element and its parent
should not receive the input?
false if the element and its children
should receive input;
Is there a property that set to true to make the element and its parent
should not receive the input?
Hello,
Welcome to Microsoft Q&A!
Is there a property that set to true to make the element and its parent should not receive the input?
Xamarin does not provide such a property .
As a workaround , you can get the element 's parent and set InputTransparent
as true .
SetMyMethod(element,true);
void SetMyMethod(VisualElement element , bool p)
{
var parent = element.Parent as VisualElement;
if (parent != null)
{
parent.InputTransparent = p;
}
}
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
7 people are following this question.