Steven Kirk
e54694cfae
Typo
10 years ago
Steven Kirk
90efeeeb18
Added TODO doc.
10 years ago
Steven Kirk
cb98a09548
Supply a base URI when loading assets.
This allows assets to be loaded relative to the URI which loaded them,
e.g. a bitmap will now be loaded from the same assembly as the XAML file
that loads the bitmap rather than the entry assembly.
10 years ago
Jason Jarvis
874e350126
Fixed up tab and name styling issues.
10 years ago
Jason Jarvis
97388703b3
Adding various other runtime application configuration extensions to improve boilerplate main startup. Updated most Sample applications to use simpler bootstrapping extensions.
10 years ago
Steven Kirk
22952e4b0d
Only apply delayed bindings to TopLevels on load.
Otherwise e.g. StyleResources for UserControls aren't found.
10 years ago
Darnell Williams
f6ef5d3698
Corrects loading paml files and content sizing for usercontrols
10 years ago
Steven Kirk
f87cc32ec6
Fix DesignerAssist.
Designer should work again now.
10 years ago
Steven Kirk
81d7d76659
Renamed paml => xaml in files.
10 years ago
Steven Kirk
5d53ec9822
Fix binding to Window.
10 years ago
Steven Kirk
6e337ec877
Fix loading of UserControls.
Also added a UserControl test, though it turns out it was unrelated to
the problem at hand.
10 years ago
Steven Kirk
8ca890d168
Started implementing XAML lifecycle listener.
We need to delay bindings until everything is set up before everything
works though.
10 years ago
Steven Kirk
1ac9c50568
Use static PerspexParserFactory.
Improves startup times on XamlTestApplication from about 9.4 to 2.6
seconds.
10 years ago
José Manuel Nieto Sánchez
077825cf93
Adaptation to newest changes in OmniXAML
10 years ago
Steven Kirk
1841e7ad7a
Start allowing Setters to contain bindings.
This is needed so that things like the following can be done:
<TreeView>
<TreeView.Styles>
<Style Selector="TreeViewItem">
<Setter Property="IsExpanded" Value="{Binding IsExpanded}"/>
</Style>
</TreeView.Styles>
<TreeView>
(At the moment we have TreeDataTemplate.IsExpanded but this isn't good
enough: it only supports setting IsExpanded on creation of the item with
no binding.)
With this commit, setters can now contain bindings, but they aren't yet
applied correctly. As part of this commit, classes related to binding
have been moved to the Perspex.Data namespace.
10 years ago
Nikita Tsukanov
81f1bf51a8
Fixed #282
11 years ago
Steven Kirk
bd220d2b92
Updated OmniXAML
11 years ago
Steven Kirk
a18795b160
Put button style into its own file.
And add StyleInclude class to import it. Unfortunately doesn't work yet
due to bug in OmniXAML: https://github.com/SuperJMN/OmniXAML/issues/48
11 years ago
Nikita Tsukanov
323c1a49c1
Removed core dependency on Splat
11 years ago
Steven Kirk
5a27ecf264
Add IAssetLoader.Exists
Closes #181 .
11 years ago
Nikita Tsukanov
c8b1c4202a
Asset loader improvements:
1) moved to shared project
2) now using uri format with assembly name
11 years ago
Steven Kirk
6b19582945
Store XAML in embedded resources.
Instead of "Build Action: Resource" as xbuild on mono doesn't support
this. We may change back later if we can get it supported.
11 years ago
Steven Kirk
fa8e182c44
Documented .paml hack.
11 years ago
Nikita Tsukanov
afd25d7b98
Try to load .paml if .xaml wasn't found
11 years ago
Nikita Tsukanov
01e2c90bc5
Removed this.
11 years ago
Steven Kirk
145411020b
Ran .net core code formatter.
11 years ago
Steven Kirk
6151aef188
Removed file headers.
11 years ago
Steven Kirk
2520ae160a
Added StyleCop.Analyzers to Perspex.Markup,Xaml.
11 years ago
Steven Kirk
097d87926b
Perspex.Xaml -> Perspex.Markup.Xaml.
11 years ago
Steven Kirk
e858d34b8f
Simplify basic XAML load syntax.
11 years ago
Steven Kirk
56b88d287c
Refactored loading assets into IAssetLoader.
11 years ago