Event details page navigation, handling of attendees in Outlook synchronizer, navigation changes for calendar.

This commit is contained in:
Burak Kaan Köse
2025-01-16 22:00:05 +01:00
parent 56d6c22d53
commit 7cfa5a57f5
21 changed files with 374 additions and 99 deletions

View File

@@ -45,7 +45,8 @@
BorderBrush="Transparent"
Click="PaneClicked"
FocusVisualPrimaryThickness="0"
FocusVisualSecondaryThickness="0">
FocusVisualSecondaryThickness="0"
Visibility="{x:Bind IsMenuButtonVisible, Mode=OneWay}">
<muxc:AnimatedIcon Width="16">
<muxc:AnimatedIcon.Source>
<animatedvisuals:AnimatedGlobalNavigationButtonVisualSource />

View File

@@ -25,7 +25,7 @@ namespace Wino.Core.UWP.Controls
public static readonly DependencyProperty ShrinkShellContentOnExpansionProperty = DependencyProperty.Register(nameof(ShrinkShellContentOnExpansion), typeof(bool), typeof(WinoAppTitleBar), new PropertyMetadata(true));
public static readonly DependencyProperty IsDragAreaProperty = DependencyProperty.Register(nameof(IsDragArea), typeof(bool), typeof(WinoAppTitleBar), new PropertyMetadata(false, new PropertyChangedCallback(OnIsDragAreaChanged)));
public static readonly DependencyProperty IsShellFrameContentVisibleProperty = DependencyProperty.Register(nameof(IsShellFrameContentVisible), typeof(bool), typeof(WinoAppTitleBar), new PropertyMetadata(true));
public static readonly DependencyProperty IsMenuButtonVisibleProperty = DependencyProperty.Register(nameof(IsMenuButtonVisible), typeof(bool), typeof(WinoAppTitleBar), new PropertyMetadata(true));
public bool IsShellFrameContentVisible
{
@@ -94,6 +94,15 @@ namespace Wino.Core.UWP.Controls
set { SetValue(OpenPaneLengthProperty, value); }
}
public bool IsMenuButtonVisible
{
get { return (bool)GetValue(IsMenuButtonVisibleProperty); }
set { SetValue(IsMenuButtonVisibleProperty, value); }
}
public bool IsBackButtonVisible
{
get { return (bool)GetValue(IsBackButtonVisibleProperty); }
@@ -206,8 +215,14 @@ namespace Wino.Core.UWP.Controls
}
else
{
// EmptySpaceWidth.Width = new GridLength(ReadingPaneLength, GridUnitType.Pixel);
EmptySpaceWidth.Width = new GridLength(ReadingPaneLength, GridUnitType.Star);
if (ShrinkShellContentOnExpansion)
{
EmptySpaceWidth.Width = new GridLength(ReadingPaneLength, GridUnitType.Pixel);
}
else
{
EmptySpaceWidth.Width = new GridLength(ReadingPaneLength, GridUnitType.Star);
}
}
}
}