ScreenToGif/Windows/Editor.xaml
(开头部分) 308KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<Window x:Class="ScreenToGif.Windows.Editor"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:cm="clr-namespace:System.ComponentModel;assembly=WindowsBase"
xmlns:n="clr-namespace:ScreenToGif.Controls"
xmlns:l="clr-namespace:ScreenToGif.Windows"
xmlns:u="clr-namespace:ScreenToGif.Util"
xmlns:c="clr-namespace:ScreenToGif.Util.Converters"
x:Name="EditorWindow" Title="{DynamicResource Editor.Title}" MinHeight="500" MinWidth="700"
Background="#FFF1F1F1" UseLayoutRounding="True" Icon="/Resources/Logo.ico"
Left="{Binding Source={x:Static u:UserSettings.All}, Path=EditorLeft, Mode=TwoWay}"
Top="{Binding Source={x:Static u:UserSettings.All}, Path=EditorTop, Mode=TwoWay}"
Height="{Binding Source={x:Static u:UserSettings.All}, Path=EditorHeight}"
Width="{Binding Source={x:Static u:UserSettings.All}, Path=EditorWidth}"
WindowState="{Binding Source={x:Static u:UserSettings.All}, Path=EditorWindowState}"
FocusManager.FocusedElement="{Binding RelativeSource={x:Static RelativeSource.Self}, Mode=OneTime}"
Loaded="Window_Loaded" Closing="Window_Closing" Activated="Window_Activated" KeyUp="Window_KeyUp" Deactivated="Window_Deactivated">
<Window.Resources>
<c:DoubleToInt x:Key="DoubleToIntConverter"/>
<c:InvertedBool x:Key="InvertedBoolConverter"/>
<c:InvertedVisibility x:Key="InvertedVisibilityConverter"/>
<c:MaximumValue x:Key="MaximumValueConverter"/>
<c:DoubleTimesAHundredToInt x:Key="DoubleTimesAHundredToIntConverter"/>
<c:UriToBitmap x:Key="UriToBitmapConverter"/>
<c:PathToFilename x:Key="PathToFilenameConverter"/>
<c:DoubleToThickness x:Key="DoubleToThicknessConverter"/>
<c:SelectionToEditingMode x:Key="SelectionToEditingModeConverter"/>
<c:SelectionToDrawingAttributes x:Key="SelectionToDrawingAttributesConverter"/>
<c:SelectionToStylusShape x:Key="SelectionToStylusShapeConverter"/>
<c:StylusTipToBool x:Key="StylusTipToBoolConverter"/>
<c:RoutedCommandToInputGestureTextConverter x:Key="CommandToInputGestureTextConverter"/>
<c:FontToSupportedGliph x:Key="FontToSupportedGliphConverter"/>
<c:InvertedBool x:Key="InvertedBool"/>
<c:InvertedBoolToVisibility x:Key="InvertedBoolToVisibility"/>
<c:EnumToBool x:Key="EnumToBool"/>
<c:EnumToVisibility x:Key="EnumToVisibility"/>
<c:IntToVisibility x:Key="IntToVisibility"/>
<c:FormatConverter x:Key="FormatConverter"/>
<c:BoolOrToVisibility x:Key="BoolOrToVisibility"/>
<c:BoolAndToVisibility x:Key="BoolAndToVisibility"/>
<Storyboard x:Key="ShowPanelStoryboard">
<BooleanAnimationUsingKeyFrames Storyboard.TargetName="ActionGrid" Storyboard.TargetProperty="IsHitTestVisible" Duration="0:0:0" >
<DiscreteBooleanKeyFrame Value="True" KeyTime="0:0:0"/>
</BooleanAnimationUsingKeyFrames>
<DoubleAnimation Storyboard.TargetName="ActionGrid" Storyboard.TargetProperty="(Grid.MinWidth)" From="{Binding ElementName=ActionGrid,Path=ActualWidth}" To="260" Duration="0:0:1">
<DoubleAnimation.EasingFunction>
<PowerEase Power="8" />
</DoubleAnimation.EasingFunction>
</DoubleAnimation>
<DoubleAnimation Storyboard.TargetName="ActionGrid" Storyboard.TargetProperty="(Grid.Width)" From="{Binding ElementName=ActionGrid,Path=ActualWidth}" To="260" Duration="0:0:1">
<DoubleAnimation.EasingFunction>
<PowerEase Power="8" />
</DoubleAnimation.EasingFunction>
</DoubleAnimation>
<DoubleAnimation Storyboard.TargetName="ActionGrid" Storyboard.TargetProperty="(Grid.Opacity)" From="{Binding ElementName=ActionGrid,Path=Opacity}" To="1" Duration="0:0:1">
<DoubleAnimation.EasingFunction>
<PowerEase Power="8" />
后面还有 3138+ 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
