123456789101112131415161718192021222324 |
- <UserControl x:Class="PDF_Master.Views.HomePanel.HomeCloudContent"
- xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
- xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
- xmlns:local="clr-namespace:PDF_Master.Views.HomePanel"
- xmlns:Cloud="clr-namespace:PDF_Master.Views.HomePanel.CloudDrive"
- xmlns:prism ="http://prismlibrary.com/"
- prism:ViewModelLocator.AutoWireViewModel="True"
- xmlns:convert="clr-namespace:PDF_Master.DataConvert"
- Background="Yellow"
- mc:Ignorable="d"
- d:DesignHeight="450" d:DesignWidth="800">
- <UserControl.Resources>
- <ResourceDictionary>
- <convert:InvertBoolToVisibleConvert x:Key="InvertBoolToVisibleConvert" />
- <convert:BoolToVisible x:Key="BoolToVisibleConvert" />
- </ResourceDictionary>
- </UserControl.Resources>
- <Grid>
- <Cloud:CloudDriveContent x:Name="cloudDriveContent" Visibility="{Binding ElementName=cloudDriveContent,Path=IsShow, Converter={StaticResource BoolToVisibleConvert}}" />
- <Cloud:CloudFilesContent x:Name="cloudFilesContent" Visibility="{Binding ElementName=cloudDriveContent,Path=IsShow, Converter={StaticResource InvertBoolToVisibleConvert}}"/>
- </Grid>
- </UserControl>
|