Add read receipt tracking for sent mail
This commit is contained in:
@@ -234,6 +234,15 @@
|
||||
Orientation="Horizontal"
|
||||
Spacing="2">
|
||||
|
||||
<TextBlock
|
||||
Margin="0,0,4,0"
|
||||
VerticalAlignment="Center"
|
||||
FontSize="11"
|
||||
Opacity="0.8"
|
||||
Text="{x:Bind MailItemInformation.ReadReceiptDisplayText, Mode=OneWay}"
|
||||
TextTrimming="CharacterEllipsis"
|
||||
Visibility="{x:Bind helpers:XamlHelpers.StringToVisibilityConverter(MailItemInformation.ReadReceiptDisplayText), Mode=OneWay}" />
|
||||
|
||||
<ContentPresenter
|
||||
x:Name="HasAttachmentContent"
|
||||
x:Load="{x:Bind MailItemInformation.HasAttachments, Mode=OneWay}"
|
||||
|
||||
@@ -302,6 +302,19 @@
|
||||
</Viewbox>
|
||||
</ToggleButton.Content>
|
||||
</ToggleButton>
|
||||
<ToggleButton
|
||||
Margin="8,0,0,0"
|
||||
IsChecked="{x:Bind ViewModel.IsReadReceiptRequested, Mode=TwoWay}"
|
||||
ToolTipService.ToolTip="{x:Bind domain:Translator.Composer_RequestReadReceipt}">
|
||||
<ToggleButton.Content>
|
||||
<Viewbox
|
||||
Width="16"
|
||||
Height="16"
|
||||
Margin="0,0,4,0">
|
||||
<PathIcon Data="M10.75 2.5a6.75 6.75 0 1 0 0 13.5 6.75 6.75 0 0 0 0-13.5ZM2.5 9.25a8.25 8.25 0 1 1 15.036 4.71l2.507 2.507a.75.75 0 1 1-1.06 1.06l-2.507-2.507A8.25 8.25 0 0 1 2.5 9.25Zm8.25-3.5a.75.75 0 0 1 .75.75v2.44l1.78 1.187a.75.75 0 0 1-.832 1.248l-2.114-1.41a.75.75 0 0 1-.334-.624V6.5a.75.75 0 0 1 .75-.75Z" />
|
||||
</Viewbox>
|
||||
</ToggleButton.Content>
|
||||
</ToggleButton>
|
||||
</StackPanel>
|
||||
</controls1:EditorTabbedCommandBarControl.OptionsCustomContent>
|
||||
</controls1:EditorTabbedCommandBarControl>
|
||||
|
||||
Reference in New Issue
Block a user