Giter Club home page Giter Club logo

xamlviewer's Introduction

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

xamlviewer's People

Contributors

chelsea0932 avatar damiansuess avatar dependabot[bot] avatar huangjia2107 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

xamlviewer's Issues

Blank screen ?

Perhaps I am not using this correctly ?

I selected an xaml file to open, and it seems to do that. The file is from a Xamarin VS 2019 project.

However noting appears in the display area of the pp apart from the two small gray separation lines.

Crashing

Throws exception when Auto-Compile is checked with invalid xaml.

Needs to catch exception and put an invalid xaml box within the preview until the next Auto-Compile.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.