menu

UWP

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class CustomTextBlock - UWP API Reference | Syncfusion

    Show / Hide Table of Contents

    Class CustomTextBlock

    Represents a class that represents a custom text block to display date/time values in Schedule view.

    Inheritance
    System.Object
    CustomTextBlock
    Implements
    System.IDisposable
    Namespace: Syncfusion.UI.Xaml.Schedule
    Assembly: Syncfusion.SfSchedule.UWP.dll
    Syntax
    public class CustomTextBlock : Control, IDisposable

    Constructors

    CustomTextBlock()

    Initializes a new instance of the CustomTextBlock class.

    Declaration
    public CustomTextBlock()

    Fields

    DateTimeFormatProperty

    Using a DependencyProperty as the backing store for DateTimeFormat. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty DateTimeFormatProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    DateTimeValueProperty

    Using a DependencyProperty as the backing store for DateTimeValue. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty DateTimeValueProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    HourFormatProperty

    Using a DependencyProperty as the backing store for HourFormat. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty HourFormatProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    MinuteFormatProperty

    Using a DependencyProperty as the backing store for MinuteFormat. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty MinuteFormatProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    MonthDateFormatProperty

    Using a DependencyProperty as the backing store for MonthDateFormat. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty MonthDateFormatProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    TextProperty

    Using a DependencyProperty as the backing store for Text. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty TextProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    TextWrappingProperty

    Using a DependencyProperty as the backing store for TextWrapping. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty TextWrappingProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    TimeSpanValueProperty

    Using a DependencyProperty as the backing store for TimeSpanValue. This enables animation, styling, binding, etc...

    Declaration
    public static readonly DependencyProperty TimeSpanValueProperty
    Field Value
    Type
    Windows.UI.Xaml.DependencyProperty

    Properties

    DateTimeFormat

    Gets or sets a format for formatting date time value.

    Declaration
    public string DateTimeFormat { get; set; }
    Property Value
    Type
    System.String

    DateTimeValue

    Gets or sets a date time content of custom text block.

    Declaration
    public string DateTimeValue { get; set; }
    Property Value
    Type
    System.String

    HourFormat

    Gets or sets a format for formatting hour value.

    Declaration
    public string HourFormat { get; set; }
    Property Value
    Type
    System.String

    MinuteFormat

    Gets or sets a format for formatting minute value.

    Declaration
    public string MinuteFormat { get; set; }
    Property Value
    Type
    System.String

    MonthDateFormat

    Gets or sets a format for formatting date in month.

    Declaration
    public string MonthDateFormat { get; set; }
    Property Value
    Type
    System.String

    Text

    Represents a text content of custom text block.

    Declaration
    public string Text { get; set; }
    Property Value
    Type
    System.String

    TextWrapping

    Gets or sets how the custom text block should wrap text.

    Declaration
    public TextWrapping TextWrapping { get; set; }
    Property Value
    Type
    Windows.UI.Xaml.TextWrapping

    TimeSpanValue

    Gets or sets a time span value for custom text block.

    Declaration
    public TimeSpan TimeSpanValue { get; set; }
    Property Value
    Type
    System.TimeSpan

    Methods

    Dispose()

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    OnApplyTemplate()

    Declaration
    protected override void OnApplyTemplate()

    Implements

    System.IDisposable

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved