1 В избранное 0 Ответвления 0

OSCHINA-MIRROR/lunarsf-Lunar-Markdown-Editor

Присоединиться к Gitlife
Откройте для себя и примите участие в публичных проектах с открытым исходным кодом с участием более 10 миллионов разработчиков. Приватные репозитории также полностью бесплатны :)
Присоединиться бесплатно
Это зеркальный репозиторий, синхронизируется ежедневно с исходного репозитория.
Клонировать/Скачать
PlainTextEditor.xaml 2.6 КБ
Копировать Редактировать Исходные данные Просмотреть построчно История
LunarSF Отправлено 8 лет назад c66c883
<controls:MetroWindow x:Class="LunarSF.SHomeWorkshop.LunarMarkdownEditor.PlainTextEditor"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:LunarSF.SHomeWorkshop.LunarMarkdownEditor"
xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls"
mc:Ignorable="d"
Background="WhiteSmoke"
BorderBrush="#FFBB6115"
BorderThickness="1"
Height="400" Width="600" Icon="App.png"
FontFamily="Simsun"
FontSize="14"
Topmost="True">
<Window.Resources>
<Style TargetType="Button" >
<Setter Property="Foreground" Value="Black"/>
</Style>
</Window.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition Height="auto"/>
</Grid.RowDefinitions>
<TextBox Name="tbx"
AcceptsReturn="True"
AcceptsTab="True"
VerticalScrollBarVisibility="Visible"
HorizontalScrollBarVisibility="Auto"
FontFamily="SimSun"
FontSize="16">
<TextBox.ContextMenu>
<ContextMenu Visibility="Collapsed" />
</TextBox.ContextMenu>
</TextBox>
<DockPanel Grid.Row="1"
LastChildFill="False">
<Button Name="btnClose"
DockPanel.Dock="Right"
Style="{StaticResource ResourceKey=SquareButtonStyle}"
Height="28"
Margin="2"
BorderThickness="1"
FontWeight="Normal"
Padding="10,4"
IsCancel="True"
Click="btnClose_Click">关闭(_C)</Button>
<Button Name="btnSave"
DockPanel.Dock="Right"
Margin="10"
Padding="10,4"
Style="{StaticResource ResourceKey=SquareButtonStyle}"
Height="28"
BorderThickness="1"
FontWeight="Normal"
IsDefault="True"
Click="btnSave_Click">保存(_S)</Button>
</DockPanel>
</Grid>
</controls:MetroWindow>

Комментарий ( 0 )

Вы можете оставить комментарий после Вход в систему

1
https://gitlife.ru/oschina-mirror/lunarsf-Lunar-Markdown-Editor.git
git@gitlife.ru:oschina-mirror/lunarsf-Lunar-Markdown-Editor.git
oschina-mirror
lunarsf-Lunar-Markdown-Editor
lunarsf-Lunar-Markdown-Editor
v0.4-beta8