Skip to content

Commit 84a7474

Browse files
author
AnanthaLakshmiKannan
committed
UG DOC 831881: Added sample for Listview - Itemsreordering - DragViewIndicator
1 parent 17393d3 commit 84a7474

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

ListViewMaui/Converters/InverseBoolConverter.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,7 @@ public class InverseBoolConverter : IValueConverter
1111
{
1212
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
1313
{
14-
if (value is bool)
15-
{
16-
return !(bool)value;
17-
}
18-
19-
return true;
14+
return !(bool)value;
2015
}
2116

2217
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)

0 commit comments

Comments
 (0)