Permalink
Browse files

Fixing DP property regisration for Flyout

  • Loading branch information...
timheuer committed Jun 1, 2012
1 parent 86208cd commit 813e0efe4f5b7e7be182294aa63d893d36afd875
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
- <version>1.0.0</version>
+ <version>1.0.1</version>
<authors>Tim Heuer</authors>
<owners>Tim Heuer</owners>
<licenseUrl>http://opensource.org/licenses/ms-pl.html</licenseUrl>
View
@@ -8,15 +8,15 @@ msbuild /verbosity:quiet /fl /t:Rebuild /p:Configuration=Release src\Callisto\Ca
@echo *******************************************
@echo BUILDING DIRECTORY STRUCTURE FOR SDK *
@echo *******************************************
-mkdir SDK\Callisto\1.0\References\CommonConfiguration\neutral
-mkdir SDK\Callisto\1.0\Redist\CommonConfiguration\neutral\Callisto\Themes
+mkdir SDK\Callisto\1.0.1\References\CommonConfiguration\neutral
+mkdir SDK\Callisto\1.0.1\Redist\CommonConfiguration\neutral\Callisto\Themes
@echo *******************************************
@echo * COPYING BINARIES *
@echo *******************************************
-copy src\Callisto\bin\Release\Callisto.dll SDK\Callisto\1.0\References\CommonConfiguration\neutral
-copy src\Callisto\bin\Release\themes\generic.xaml SDK\Callisto\1.0\Redist\CommonConfiguration\neutral\Callisto\Themes
-copy src\Callisto\bin\Release\Callisto.pri SDK\Callisto\1.0\Redist\CommonConfiguration\neutral\
+copy src\Callisto\bin\Release\Callisto.dll SDK\Callisto\1.0.1\References\CommonConfiguration\neutral
+copy src\Callisto\bin\Release\themes\generic.xaml SDK\Callisto\1.0.1\Redist\CommonConfiguration\neutral\Callisto\Themes
+copy src\Callisto\bin\Release\Callisto.pri SDK\Callisto\1.0.1\Redist\CommonConfiguration\neutral\
copy SDKManifest.xml SDK\Callisto\1.0\
@echo *******************************************
View
@@ -0,0 +1,7 @@
+1.0.1
+============
+- Fixed incorrect DP registration for Flyout
+
+1.0.0
+============
+- Initial RC release
View
@@ -29,14 +29,10 @@ What is in the plan (could always use the help):
There are two ways you can install the control.
### Visual Studio Extension SDK
-If you download the ZIP file it is formatted as an "Extension SDK" for Visual Studio 2011. You would extract the contents of this ZIP file to:
-
- %ProgramFiles%\Microsoft SDKs\Windows\v8.0\ExtensionSDKs
-
-Once placed there, the control will be available for all projects on your machine via the Add Reference dialog in Visual Studio under the Windows\Extensions category.
+Install as an Extension SDK via the Visual Studio Gallery - available within VS as well as [downloading from the gallery directly](http://visualstudiogallery.msdn.microsoft.com/0526563b-7a48-4b17-a087-a35cea701052)
### NuGet
-You can get the control via [NuGet](http://www.nuget.org) if you have the extension installed for Visual Studio or via the PowerShell package manager. This control is published via NuGet at [Callisto](http://timheuer.com/).
+You can get the control via [NuGet](http://www.nuget.org) if you have the extension installed for Visual Studio or via the PowerShell package manager. This control is published via NuGet at [Callisto](https://nuget.org/packages/Callisto).
## How To Use It?
To use the controls you simply create an instance of them (we will use an example here) like `Flyout` and tell it what content goes in it and where it should go:
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
- <Identity Id="Callisto.VSIX.Microsoft.70324707-fc91-45b3-8d2a-adc68a4b967b" Version="1.0" Language="en-US" Publisher="Tim Heuer" />
+ <Identity Id="Callisto.VSIX.Microsoft.70324707-fc91-45b3-8d2a-adc68a4b967b" Version="1.0.1" Language="en-US" Publisher="Tim Heuer" />
<DisplayName>Callisto</DisplayName>
<Description>A control suite for some common things a Windows 8 XAML application might want to include such as a Flyout, Menu, Settings Pane, and Pivot control</Description>
<MoreInfo>http://github.com/timheuer/Callisto</MoreInfo>
@@ -11,7 +11,7 @@
<Tags>xaml winrt flyout settings popup menu win8 metro pivot</Tags>
</Metadata>
<Installation Scope="Global" AllUsers="true">
- <InstallationTarget Id="Microsoft.ExtensionSDK" TargetPlatformIdentifier="Windows" TargetPlatformVersion="v8.0" SdkName="Callisto" SdkVersion="1.0.0" />
+ <InstallationTarget Id="Microsoft.ExtensionSDK" TargetPlatformIdentifier="Windows" TargetPlatformVersion="v8.0" SdkName="Callisto" SdkVersion="1.0.1" />
</Installation>
<Dependencies>
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" d:Source="Manual" Version="4.5" />
@@ -484,7 +484,7 @@ public bool IsOpen
set { SetValue(IsOpenProperty, value); }
}
public static readonly DependencyProperty IsOpenProperty =
- DependencyProperty.Register("IsOpen", typeof(bool), typeof(Menu), new PropertyMetadata(false, (obj, args) =>
+ DependencyProperty.Register("IsOpen", typeof(bool), typeof(Flyout), new PropertyMetadata(false, (obj, args) =>
{
if (args.NewValue != args.OldValue)
{
@@ -500,7 +500,7 @@ public UIElement PlacementTarget
}
public static readonly DependencyProperty PlacementTargetProperty =
- DependencyProperty.Register("PlacementTarget", typeof(UIElement), typeof(Menu), null);
+ DependencyProperty.Register("PlacementTarget", typeof(UIElement), typeof(Flyout), null);
public Windows.UI.Xaml.Controls.Primitives.PlacementMode Placement
{
@@ -509,7 +509,7 @@ public Windows.UI.Xaml.Controls.Primitives.PlacementMode Placement
}
public static readonly DependencyProperty PlacementProperty =
- DependencyProperty.Register("Placement", typeof(Windows.UI.Xaml.Controls.Primitives.PlacementMode), typeof(Menu), null);
+ DependencyProperty.Register("Placement", typeof(Windows.UI.Xaml.Controls.Primitives.PlacementMode), typeof(Flyout), null);
public double HorizontalOffset
{
@@ -518,7 +518,7 @@ public double HorizontalOffset
}
public static readonly DependencyProperty HorizontalOffsetProperty =
- DependencyProperty.Register("HorizontalOffset", typeof(double), typeof(Menu), new PropertyMetadata(0.0));
+ DependencyProperty.Register("HorizontalOffset", typeof(double), typeof(Flyout), new PropertyMetadata(0.0));
public double VerticalOffset
{
@@ -527,7 +527,7 @@ public double VerticalOffset
}
public static readonly DependencyProperty VerticalOffsetProperty =
- DependencyProperty.Register("VerticalOffset", typeof(double), typeof(Menu), new PropertyMetadata(0.0));
+ DependencyProperty.Register("VerticalOffset", typeof(double), typeof(Flyout), new PropertyMetadata(0.0));
#endregion Dependency Properties
}
}

0 comments on commit 813e0ef

Please sign in to comment.