xamarin/Xamarin.Forms

StackLayout.IsEnabled=false one of the children does not inherit IsEnabled=false

Open

#9,121 创建于 2020年1月7日

在 GitHub 查看
 (5 评论) (1 反应) (0 负责人)C# (5,644 star) (1,926 fork)batch import
e/3 :clock3:hackathonhelp wantedinactivep/UWPt/bug :bug:up-for-grabs

描述

This issue has been moved from a ticket on Developer Community.


I have this simple xaml in a

<StackLayout x:Name="EntriesPanel" IsEnabled="False" >
             <Label>IDX</Label>
             <Entry x:Name="IDXEntry" IsEnabled="False" />
             <Label>Name</Label>
             <Entry x:Name="NameEntry" />
             <Label>Name2</Label>
             <Entry x:Name="NameEntry2" />
        </StackLayout>

Strangely NameEntry2 is disabled as expected (inheriting from StackLayout) but NameEntry stays enabled. I have other forms with more Entry and all of them inherit from parent StackLayout apart from the first not disabled one.


Original Comments

Visual Studio Feedback System on 1/2/2020, 06:14 PM:


Original Solutions

(no solutions)

贡献者指南