SideDrawer: When TapOustideToClose is false. main content should not be disabled.
This commit is contained in:
Родитель
b9805b36e6
Коммит
97a104ee61
|
@ -705,8 +705,8 @@ namespace Telerik.UI.Xaml.Controls.Primitives
|
|||
var sideDrawer = d as RadSideDrawer;
|
||||
var mainContent = sideDrawer.MainContent as FrameworkElement;
|
||||
|
||||
if (mainContent != null)
|
||||
{
|
||||
if (mainContent != null && sideDrawer.TapOutsideToClose)
|
||||
{
|
||||
mainContent.IsHitTestVisible = (DrawerState)e.NewValue == DrawerState.Closed;
|
||||
}
|
||||
|
||||
|
@ -742,7 +742,7 @@ namespace Telerik.UI.Xaml.Controls.Primitives
|
|||
|
||||
if (sideDrawer.IsTemplateApplied)
|
||||
{
|
||||
sideDrawer.InvalidateMeasure();
|
||||
sideDrawer.ResetDrawer();
|
||||
}
|
||||
}
|
||||
private static void OnIsOpenChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
|
||||
|
|
Загрузка…
Ссылка в новой задаче