Skip to content

Latest commit

 

History

History
61 lines (51 loc) · 2.54 KB

README.md

File metadata and controls

61 lines (51 loc) · 2.54 KB

XAML Viewer

XAML is a lightweight XAML Editor. While coding, the corresponding design preview can be displayed in real time.Providing convenient doc management, and more user-friendly intelligent tips. When you are learning or trying out some XAML effects, it's a pretty good choice for you.

Preview

Build

  1. .Net Core 3.1 SDK and .Net Framework 4.5 Dev Pack;
  2. Visual Studio Code or Visual Studio 2019;
  3. Windows 7 SP1/8/8.1/10

Notice:You can adjust the TargetFrameworks in the Directory.Build.props file according to your needs.

Document Manager

  1. Support operations: new, save, open, close, drag and etc.;
  2. Support quick-selection for opened file in Active Files drop-down list.

Notice:Only local doc files could be saved when closing the software. Please make sure doc files had been saved in local path.

Automitic Compilation

  1. Auto-Compile: Enable/disable Auto-Compile function, While compile manually [F5] always takes effect;
  2. Auto-Compile Delay: To compile automatically after "Auto-Compile Delay" time while idle(no input).

Reference

  1. [Setting] >> [Reference] >> [Add]: To add custom control library, which could be called directly in XAML;
  2. Please declare namespace as the following form:
xmlns:controls="clr-namespace:MyControl.Controls;assembly=MyControl"

Data Source

1. Object

DataSource

<TextBlock Tag="{Binding id}"
           IsEnabled="{Binding enabled}"
           Text="{Binding child.name}"/>

2. Array

DataSource

<ItemsControl ItemsSource="{Binding .}">
    <ItemsControl.ItemTemplate>
        <DataTemplate>
            <TextBlock Tag="{Binding id}"
		       IsEnabled="{Binding enabled}"
		       Text="{Binding name}"/>
        </DataTemplate>
    </ItemsControl.ItemTemplate>
</ItemsControl>

Third-Party Notices

Library Version License
Prism 7.2.0.1422 MIT
Microsoft.Xaml.Behaviors 1.1.19 MIT
AvalonEdit 6.0.1 MIT
Json.NET 12.0.3 MIT