[]
        
(Showing Draft Content)

C1.WPF.Input.AutoSizeContentPresenter

AutoSizeContentPresenter Class

ContentPresenter whose size can be determined by the size of its content and keep it if the content size is reduced.

Inheritance
AutoSizeContentPresenter
Namespace: C1.WPF.Input
Assembly: C1.WPF.Input.dll
Syntax
public class AutoSizeContentPresenter : ContentPresenter, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IDisposable
Remarks

This control is useful for popup's whose content is a virtualizing control as the size can be changed as the user scrolls.

Constructors

Name Description
AutoSizeContentPresenter()

Initializes a new instance of the AutoSizeContentPresenter class.

Fields

Name Description
AutoSizeModeProperty

Identifies the AutoSizeMode dependency property.

Properties

Name Description
AutoSizeMode

Gets or sets how the control determine its size.

IsDisposed

Gets whether this instance is disposed.

Methods

Name Description
Dispose()
Dispose(bool)
Finalize()

Finalizes this instance of the AutoSizeContentPresenter class.

InvalidateAutoSize()

Invalidates the cached size. After this call the size of this control will be the size of the content for all the modes.

MeasureOverride(Size)
OnApplyTemplate()