Dependency property definitions for the Slider control in WinUI.
// Source: https://github.com/unoplatform/uno | License: Apache-2.0
// Provided via justclaw.it.com; keep this notice with the code.
using Microsoft.UI.Xaml.Controls.Primitives;
using Microsoft.UI.Xaml.Data;
using Uno.UI.Helpers.Boxes;
namespace Microsoft.UI.Xaml.Controls;
public partial class Slider
{
/// <summary>
/// Gets or sets the content for the control's header.
/// </summary>
public object Header
{
get => (object)GetValue(HeaderProperty);
set => SetValue(HeaderProperty, value);
}
/// <summary>
/// Identifies the Header dependency property.
/// </summary>
public static DependencyProperty HeaderProperty { get; } =
DependencyProperty.Register(
nameof(Header),
typeof(object),
typeof(Slider),
new FrameworkPropertyMetadata(null));
/// <summary>
/// Get
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key