skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadFluidContentControl

The RadFluidContentControl has three content properties which are displayed depending on the available space. Using the adjustable threshold properties, the exact points at which the visible content is switched can be precisely controlled.

Inheritance
System.Object
RadFluidContentControl
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.dll

Syntax

[TelerikToolboxCategory("Containers")]
public class RadFluidContentControl : ContentControl

Constructors

RadFluidContentControl()

Initializes a new instance of the RadFluidContentControl class.

Declaration
public RadFluidContentControl()

Fields

ContentChangeModeProperty

Identifies the ContentChangeMode dependency property.

Declaration
public static readonly DependencyProperty ContentChangeModeProperty
Field Value
System.Windows.DependencyProperty

LargeContentProperty

Identifies the LargeContent dependency property.

Declaration
public static readonly DependencyProperty LargeContentProperty
Field Value
System.Windows.DependencyProperty

LargeContentTemplateProperty

Identifies the LargeContentTemplate dependency property.

Declaration
public static readonly DependencyProperty LargeContentTemplateProperty
Field Value
System.Windows.DependencyProperty

NormalToLargeThresholdProperty

Identifies the NormalToLargeThreshold dependency property.

Declaration
public static readonly DependencyProperty NormalToLargeThresholdProperty
Field Value
System.Windows.DependencyProperty

NormalToSmallThresholdProperty

Identifies the NormalToSmallThreshold dependency property.

Declaration
public static readonly DependencyProperty NormalToSmallThresholdProperty
Field Value
System.Windows.DependencyProperty

SmallContentProperty

Identifies the SmallContent dependency property.

Declaration
public static readonly DependencyProperty SmallContentProperty
Field Value
System.Windows.DependencyProperty

SmallContentTemplateProperty

Identifies the SmallContentTemplate dependency property.

Declaration
public static readonly DependencyProperty SmallContentTemplateProperty
Field Value
System.Windows.DependencyProperty

StateProperty

Identifies the State dependency property.

Declaration
public static readonly DependencyProperty StateProperty
Field Value
System.Windows.DependencyProperty

TransitionDurationProperty

Identifies the TransitionDuration dependency property.

Declaration
public static readonly DependencyProperty TransitionDurationProperty
Field Value
System.Windows.DependencyProperty

Returns the TransitionDuration dependency property.

TransitionProperty

Identifies the Transition dependency property.

Declaration
public static readonly DependencyProperty TransitionProperty
Field Value
System.Windows.DependencyProperty

Returns the current Transition value of the RadFluidContentControl.

VisibleContentProperty

Identifies the VisibleContent readonly dependency property.

Declaration
public static readonly DependencyProperty VisibleContentProperty
Field Value
System.Windows.DependencyProperty

VisibleContentTemplateProperty

Identifies the VisibleContentTemplate dependency property.

Declaration
public static readonly DependencyProperty VisibleContentTemplateProperty
Field Value
System.Windows.DependencyProperty

Properties

ContentChangeMode

Gets or sets the content change mode.

Declaration
public ContentChangeMode ContentChangeMode { get; set; }
Property Value
ContentChangeMode

The content change mode.

LargeContent

Gets or sets the content visible when the control is in Large state.

Declaration
public object LargeContent { get; set; }
Property Value
System.Object

The content visible when the control is in Large state.

LargeContentTemplate

Gets or sets the large content template.

Declaration
public DataTemplate LargeContentTemplate { get; set; }
Property Value
System.Windows.DataTemplate

The large content template.

NormalToLargeThreshold

Gets or sets the normal to large threshold.

Declaration
public Size NormalToLargeThreshold { get; set; }
Property Value
System.Windows.Size

The normal to large threshold.

NormalToSmallThreshold

Gets or sets the normal to small threshold.

Declaration
public Size NormalToSmallThreshold { get; set; }
Property Value
System.Windows.Size

The normal to small threshold.

SmallContent

Gets or sets the content visible when the control is in Small state.

Declaration
public object SmallContent { get; set; }
Property Value
System.Object

The visible when the control is in Small state.

SmallContentTemplate

Gets or sets the small content template.

Declaration
public DataTemplate SmallContentTemplate { get; set; }
Property Value
System.Windows.DataTemplate

The small content template.

State

Gets or sets the current state of the FluidContentControl.

Declaration
public FluidContentControlState State { get; set; }
Property Value
FluidContentControlState

The state.

Transition

Gets or sets the transition effect applied when the content of the control changes.

Declaration
public TransitionProvider Transition { get; set; }
Property Value
TransitionProvider

TransitionDuration

Gets or sets the duration of the transition effect in the RadFluidContentControl.

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

VisibleContent

Gets the currently visible content.

Declaration
public object VisibleContent { get; }
Property Value
System.Object

The visible content.

VisibleContentTemplate

Gets the currently visible content.

Declaration
public DataTemplate VisibleContentTemplate { get; set; }
Property Value
System.Windows.DataTemplate

The visible content.

Methods

MeasureOverride(Size)

Provides the behavior for the Measure pass of Silverlight layout. Classes can override this method to define their own Measure pass behavior.

Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size availableSize

The available size that this object can give to child objects. Infinity can be specified as a value to indicate that the object will size to whatever content is available.

Returns
System.Windows.Size

The size that this object determines it needs during layout, based on its calculations of child object allotted sizes.

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate.

Declaration
public override void OnApplyTemplate()

OnContentChanged(Object, Object)

Raised on content changed.

Declaration
protected override void OnContentChanged(object oldContent, object newContent)
Parameters
System.Object oldContent

System.Object newContent

OnInitialized(EventArgs)

Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.

Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System.EventArgs e

The System.Windows.RoutedEventArgs that contains the event data.

Events

StateChanged

Occurs when the State property of the control is changed.

Declaration
public event EventHandler<FluidContentControlStateChangedEventArgs> StateChanged
Event Type
System.EventHandler<FluidContentControlStateChangedEventArgs>

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.