[]
        
(Showing Draft Content)

GrapeCity.Wpf.SpreadSheet.CellType.Editors.DropDownWindow

DropDownWindow Class

Represents a DropDownWindow hosts the drop down child control of the GrapeCity.Windows.InputMan.GcDateTime and the GrapeCity.Windows.InputMan.GcNumber.

Namespace: GrapeCity.Wpf.SpreadSheet.CellType.Editors
Assembly: GrapeCity.Wpf.SpreadSheet.CellType.dll
Syntax
public class DropDownWindow : FrameworkElement, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild
Public Class DropDownWindow
    Inherits FrameworkElement
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild

Constructors

Name Description
DropDownWindow()

Initializes a new instance of the DropDownWindow class.

Fields

Name Description
AllowResizeProperty

Identifies the AllowResize dependency property.

AllowsTransparencyProperty

Identifies the AllowsTransparency dependency property.

ChildProperty

Identifies the Child dependency property.

CustomPopupPlacementCallbackProperty

Identifies the CustomPopupPlacementCallback dependency property.

DropDownValueProperty

Identifies the DropDownValue dependency property

HorizontalOffsetProperty

Identifies the HorizontalOffset dependency property.

IsOpenProperty

Identifies the IsOpen dependency property.

PlacementProperty

Identifies the Placement dependency property.

PlacementRectangleProperty

Identifies the PlacementRectangle dependency property.

PlacementTargetProperty

Identifies the PlacementTarget dependency property.

PopupAnimationProperty

Identifies the PopupAnimation dependency property.

ShowShadowProperty

Identifies the ShowShadow dependency property.

StaysOpenProperty

Identifies the StaysOpen dependency property.

SubmittedEvent

Identifies the GrapeCity.Windows.InputMan.Primitives.DropDownWindow.Submitted attached event.

TargetElementValueProperty

Identifies the TargetElementValue dependency property

VerticalOffsetProperty

Identifies the VerticalOffset dependency property.

Properties

Name Description
AllowResize

Gets or sets a bool value indicating whether allow UI resizing the DropDownWindow or not. This is a dependency property.

AllowsTransparency

Gets or sets a value that indicates whether a DropDownWindow can contain transparent content. This is a dependency property.

Child

Gets or sets the content of the DropDownWindow. This is a dependency property.

CustomPopupPlacementCallback

Gets or sets a delegate handler method that positions the DropDownWindow. This is a dependency property.

DropDownValue

Gets or sets the value of the drop down child control. This is a dependency property.

HorizontalOffset

Get or sets the horizontal distance between the target origin and the popup alignment point. This is a dependency property.

IsOpen

Gets or sets a value that indicates whether the DropDownWindow is visible. This is a dependency property.

LogicalChildren

Gets an enumerator for logical child elements of this element.

Placement

Gets or sets the orientation of the Popup control when the control opens, and specifies the behavior of the Popup control when it overlaps screen boundaries. This is a dependency property.

PlacementRectangle

Gets or sets the rectangle relative to which the DropDownWindow control is positioned when it opens. This is a dependency property.

PlacementTarget

Gets or sets the element relative to which the DropDownWindow is positioned when it opens. This is a dependency property.

PopupAnimation

Gets or sets an animation for the opening and closing of a DropDownWindow. This is a dependency property.

ShowShadow

Gets or sets a value indicating whether the drop down window show shadow or not. This is a dependency property.

StaysOpen

Gets or sets a value that indicates whether the DropDownWindow closes when the control is no longer in focus. This is a dependency property.

SubmitCommand

Represents the SubmitCommand command, which requests that drop down child control to submit the value of drop down child.

TargetElementValue

Gets or sets the target element value. This is a dependency property.

VerticalOffset

Gets or sets the vertical distance between the target origin and the popup alignment point. This is a dependency property.

Methods

Name Description
AddSubmittedHandler(DependencyObject, SubmittedEventHandler)

Adds a handler for the GrapeCity.Windows.InputMan.Primitives.DropDownWindow.Submitted attached event.

MeasureOverride(Size)

When overridden in a derived class, measures the size in layout required for child elements and determines a size for the FrameworkElement-derived class.

OnPreviewMouseLeftButtonDown(MouseButtonEventArgs)

Provides class handling for the PreviewMouseLeftButtonDown event.

OnPreviewMouseLeftButtonUp(MouseButtonEventArgs)

Provides class handling for the PreviewMouseLeftButtonUp event.

OnPreviewMouseRightButtonDown(MouseButtonEventArgs)

Provides class handling for the PreviewMouseRightButtonDown event.

OnPreviewMouseRightButtonUp(MouseButtonEventArgs)

Provides class handling for the PreviewMouseRightButtonUp event.

OnPropertyChanged(DependencyPropertyChangedEventArgs)

Invoked whenever the effective value of any dependency property on this FrameworkElement has been updated. The specific dependency property that changed is reported in the arguments parameter. Overrides System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs).

RemoveSubmittedHandler(DependencyObject, SubmittedEventHandler)

Removes a handler for the GrapeCity.Windows.InputMan.Primitives.DropDownWindow.Submitted attached event.