MaterialLibs 0.1.4
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package MaterialLibs --version 0.1.4
NuGet\Install-Package MaterialLibs -Version 0.1.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MaterialLibs" Version="0.1.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MaterialLibs" Version="0.1.4" />
<PackageReference Include="MaterialLibs" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MaterialLibs --version 0.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MaterialLibs, 0.1.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=MaterialLibs&version=0.1.4
#tool nuget:?package=MaterialLibs&version=0.1.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
MaterialLibs
为UWP添加一些炫酷的特效
Documentation
RippleStateHelper
建议:
编写控件Style或Template,在LayoutRoot中使用material:RippleHelper。
<Grid x:Name="LayoutRoot"
material:RippleHelper.RippleDuration="0:0:0.8"
material:RippleHelper.RippleColor="{ThemeResource SystemBaseLowColor}"
material:RippleHelper.RippleHelperState="Pressed"
material:RippleHelper.RippleRadius="30"
/>
注意:
- 设置IsFillEnable后,RippleRadius属性将会失效。
ParticleCanvas
<material:ParticleCanvas
LineColor="DarkGray"
ParticleColor="Gray"
/>
注意:
- 使用Paused属性控制是否绘制。
- 使用IsPointerEnable属性控制粒子是否响应鼠标。
AnimationHamburgerIcon
<Button x:Name="HamburgerButton" Width="48" Height="48" Padding="0" Margin="10"
HorizontalAlignment="Left" VerticalAlignment="Top"
Background="Transparent" Foreground="Black" Click="HamburgerButton_Click">
<Button.Resources>
<SolidColorBrush x:Key="ButtonBackgroundPointerOver" Color="Transparent" />
<SolidColorBrush x:Key="ButtonBackgroundPressed" Color="Transparent" />
<SolidColorBrush x:Key="ButtonForegroundPointerOver" Color="Black" />
<SolidColorBrush x:Key="ButtonForegroundPressed" Color="Black" />
</Button.Resources>
<Button.Content>
<material:AnimationHamburgerIcon x:Name="anIcon" />
</Button.Content>
</Button>
private void HamburgerButton_Click(object sender, RoutedEventArgs e)
{
mainSplitView.IsPaneOpen = !mainSplitView.IsPaneOpen;
anIcon.IsEnded = mainSplitView.IsPaneOpen;
}
CoreSocialistValuesHelper
<Grid material:CoreSocialistValuesHelper.IsCoreSocialistValuesEnable="True" >
</Grid>
不多说不多说。
Product | Versions Compatible and additional computed target framework versions. |
---|---|
Universal Windows Platform | uap was computed. uap10.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
添加ParticleCanvas。