xamarin/Xamarin.Forms

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

Offen

#9.121 geöffnet am 07.01.2020

 (5 Kommentare) (1 Reaktion) (0 zugewiesene Personen)C# (1.926 Forks)batch import
e/3 :clock3:hackathonhelp wantedinactivep/UWPt/bug :bug:up-for-grabs

Repository-Metriken

Stars
 (5.644 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

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)

Contributor Guide