查看“文档:Windows Aero DwmWin XAML”的源代码
←
文档:Windows Aero DwmWin XAML
跳转到导航
跳转到搜索
因为以下原因,你没有权限 编辑此页:
你请求的操作仅限属于此用户组的用户执行:
用户
你可以查看和复制此页面的源代码。
<syntaxhighlight lang="xml" line="1"> <?Mapping XmlNamespace="mscorlib_System" ClrNamespace="System" Assembly="mscorlib" ?> <?Mapping XmlNamespace="windowmanager.WindowLayouts" ClrNamespace="WindowLayouts" Assembly="WindowManager" ?> <?Mapping XmlNamespace="explorer" ClrNamespace="MS.Internal.Desktop" Assembly="System.Windows.Explorer" ?> <FlowPanel xmlns="http://schemas.microsoft.com/2003/xaml/" xmlns:wl="windowmanager.WindowLayouts" xmlns:System="mscorlib_System" xmlns:def="Definition" Width="800" Height="600" Background="#80FF0000"> <FlowPanel.Resources> <Style def:Name="NonClientAreaStyleNone"> <wl:UserWindowChrome Width="*Bind(Path=Width)" Height="*Bind(Path=Height)"/> <Style.VisualTree> <Canvas ID="Region_WindowTransform"> <Image ID="ClientArea" Source="*Bind(Path=ClientArea)"/> </Canvas> </Style.VisualTree> </Style> <Style def:Name="NonClientAreaStyleBorder"> <wl:UserWindowChrome Background="#800000ff" Width="*Bind(Path=Width)" Height="*Bind(Path=Height)"/> <Style.VisualTree> <Canvas ID="Region_WindowTransform" Background="#800000ff"> <Image ID="ClientArea" Source="*Bind(Path=ClientArea)"/> <Text TextContent="*Bind(Path=Title)"/> </Canvas> </Style.VisualTree> </Style> <Style def:Name="NonClientAreaStyleFrame"> <wl:UserWindowChrome Background="#8000ffff" Width="*Bind(Path=Width)" Height="*Bind(Path=Height)"/> <Style.VisualTree> <DockPanel ID="Region_WindowTransform"> <DockPanel DockPanel.Dock="Top"> <Canvas DockPanel.Dock="Right"> <fullexp:HackImage xmlns:fullexp="explorer" Margin="0,0,0,0" fullexp:HackSource="theme://CompositedWindow,SDB_BACK,SDBTB_NORMAL" fullexp:HackNineGrid="9,105,150,9" Width="100%" Height="100%"/> <Grid Width="100%" Margin="0,6,0,0"> <ColumnDefinition Width="8"/> <ColumnDefinition Width="*"/> <ColumnDefinition Width="8"/> <DockPanel ID="Region_Resize" Grid.Column="1" Background="#00000000"> <fullexp:HackImage xmlns:fullexp="explorer" fullexp:HackSource="theme://CompositedWindow,SDB_CLOCKGLASS,SDBTB_NORMAL" Width="20" Height="17" Background="#FFFF0000" DockPanel.Dock="Left"/> <Text TextContent="*Bind(Path=Title)" DockPanel.Dock="Left" Margin="3,3,0,0"/> </DockPanel> </Grid> <DockPanel DockPanel.Dock="Bottom" Margin="0,27,0,0"> <DockPanel DockPanel.Dock="Left" Margin="9,0,9,9"> <Image ID="ClientArea" Source="*Bind(Path=ClientArea)" DockPanel.Dock="Right"/> </DockPanel> </DockPanel> <DockPanel Width="100%"> <fullexp:HackImage xmlns:fullexp="explorer" ID="FakeCloseButton" fullexp:HackSource="theme://CompositedWindow,SDB_EXPANDO_CLOSED_HORIZ,SDBTB_NORMAL" Width="43" Height="14" DockPanel.Dock="Right" Margin="0,1,6,0" fullexp:HackNineGrid="0,0,14,0"/> <fullexp:HackImage xmlns:fullexp="explorer" ID="FakeMaximizeButton" fullexp:HackSource="theme://CompositedWindow,SDB_STARTBUTTON,SDBTB_NORMAL" Width="25" Height="14" DockPanel.Dock="Right" Margin="0,1,0,0" fullexp:HackNineGrid="0,0,14,0"/> <fullexp:HackImage xmlns:fullexp="explorer" ID="FakeMinimizeButton" fullexp:HackSource="theme://CompositedWindow,SDB_TASKBACK,SDBTB_NORMAL" Width="27" Height="14" DockPanel.Dock="Right" Margin="0,1,0,0" fullexp:HackNineGrid="0,0,14,0"/> </DockPanel> <DockPanel Width="100%"> <Canvas ID="CloseButton" Width="43" Height="14" DockPanel.Dock="Right" Margin="0,1,6,0" Background="#00112233"/> <Canvas ID="MaximizeButton" Width="25" Height="14" DockPanel.Dock="Right" Margin="0,1,0,0" Background="#00112233"/> <Canvas ID="MinimizeButton" Width="27" Height="14" DockPanel.Dock="Right" Margin="0,1,0,0" Background="#00112233"/> </DockPanel> </Canvas> </DockPanel> </DockPanel> </Style.VisualTree> </Style> <Style def:Name="NonClientAreaStyleFrameNonAero"> <wl:UserWindowChrome Background="#80ffff00" Width="*Bind(Path=Width)" Height="*Bind(Path=Height)"/> <Style.VisualTree> <DockPanel ID="Region_WindowTransform" Background="#80ffff00"> <Canvas DockPanel.Dock="Top" ID="Region_Resize" Margin="6,6,6,0" Background="#00112233"> <DockPanel Width="100%"> <Canvas ID="CloseButton" Width="20" Height="20" Background="#FFFF0000" DockPanel.Dock="Right"/> <Canvas ID="MaximizeButton" Width="20" Height="20" Background="#FF00FF00" DockPanel.Dock="Right"/> <Canvas ID="MinimizeButton" Width="20" Height="20" Background="#FF0000FF" DockPanel.Dock="Right"/> <Text TextContent="*Bind(Path=Title)" DockPanel.Dock="Left"/> </DockPanel> </Canvas> <DockPanel DockPanel.Dock="Bottom" Margin="0,0,0,6"> <Canvas DockPanel.Dock="Right" Margin="6,0,6,0"> <Image ID="ClientArea" Source="*Bind(Path=ClientArea)"/> </Canvas> </DockPanel> </DockPanel> </Style.VisualTree> </Style> </FlowPanel.Resources> </FlowPanel> </syntaxhighlight>
返回
文档:Windows Aero DwmWin XAML
。
导航菜单
个人工具
登录
命名空间
页面
讨论
大陆简体
查看
阅读
查看源代码
查看历史
更多
搜索
导航
首页
最近更改
随机页面
批量上传文件
WinStory 门户
深色模式
工具
链入页面
相关更改
特殊页面
页面信息
获取短URL