C# Class Boogaart.Silverlight.Behaviors.Popup

Datei anzeigen Open project: hibernating-rhinos/RavenFS

Public Properties

Property Type Description
ActualOrientationProperty System.Windows.DependencyProperty
PlacementChildProperty System.Windows.DependencyProperty
PlacementParentProperty System.Windows.DependencyProperty
PlacementTargetProperty System.Windows.DependencyProperty
PreferredOrientationsProperty System.Windows.DependencyProperty
StaysOpenProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetActualOrientation ( System.Windows.Controls.Primitives popup ) : PopupOrientation
GetPlacementChild ( System.Windows.Controls.Primitives popup ) : FrameworkElement
GetPlacementParent ( System.Windows.Controls.Primitives popup ) : FrameworkElement
GetPlacementTarget ( System.Windows.Controls.Primitives popup ) : FrameworkElement
GetPreferredOrientations ( System.Windows.Controls.Primitives popup ) : PopupOrientationCollection
GetStaysOpen ( System.Windows.Controls.Primitives popup ) : bool
SetActualOrientation ( System.Windows.Controls.Primitives popup, PopupOrientation orientation ) : void
SetPlacementChild ( System.Windows.Controls.Primitives popup, FrameworkElement placementChild ) : void
SetPlacementParent ( System.Windows.Controls.Primitives popup, FrameworkElement placementParent ) : void
SetPlacementTarget ( System.Windows.Controls.Primitives popup, FrameworkElement placementTarget ) : void
SetPreferredOrientations ( System.Windows.Controls.Primitives popup, PopupOrientationCollection orientations ) : void
SetStaysOpen ( System.Windows.Controls.Primitives popup, bool staysOpen ) : void

Private Methods

Method Description
FindHighestAncestor ( System.Windows.Controls.Primitives popup ) : FrameworkElement
GetHorizontalAlignmentsInOrderOfPreference ( PopupHorizontalAlignment preferredHorizontalAlignment ) : IEnumerable
GetPlacementModesInOrderOfPreference ( PopupPlacement preferredPlacementMode ) : IEnumerable
GetPopup ( DependencyObject dependencyObject ) : System.Windows.Controls.Primitives.Popup
GetVerticalAlignmentsInOrderOfPreference ( PopupVerticalAlignment preferredVerticalAlignment ) : IEnumerable
InvalidatePosition ( System.Windows.Controls.Primitives popup ) : void
OnChildSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
OnInvalidateOrientation ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnPlacementTargetChanged ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void
OnPopupOpened ( object sender, EventArgs e ) : void
OnStaysOpenChanged ( DependencyObject dependencyObject, System.Windows.DependencyPropertyChangedEventArgs e ) : void
PositionPopup ( System.Windows.Controls.Primitives popup ) : void
SetPopup ( DependencyObject dependencyObject, System.Windows.Controls.Primitives popup ) : void
TryPlacePopup ( System.Windows.Controls.Primitives popup, FrameworkElement parent, FrameworkElement placementParent, FrameworkElement placementChild, PopupOrientation orientation ) : bool

Method Details

GetActualOrientation() public static method

public static GetActualOrientation ( System.Windows.Controls.Primitives popup ) : PopupOrientation
popup System.Windows.Controls.Primitives
return PopupOrientation

GetPlacementChild() public static method

public static GetPlacementChild ( System.Windows.Controls.Primitives popup ) : FrameworkElement
popup System.Windows.Controls.Primitives
return System.Windows.FrameworkElement

GetPlacementParent() public static method

public static GetPlacementParent ( System.Windows.Controls.Primitives popup ) : FrameworkElement
popup System.Windows.Controls.Primitives
return System.Windows.FrameworkElement

GetPlacementTarget() public static method

public static GetPlacementTarget ( System.Windows.Controls.Primitives popup ) : FrameworkElement
popup System.Windows.Controls.Primitives
return System.Windows.FrameworkElement

GetPreferredOrientations() public static method

public static GetPreferredOrientations ( System.Windows.Controls.Primitives popup ) : PopupOrientationCollection
popup System.Windows.Controls.Primitives
return PopupOrientationCollection

GetStaysOpen() public static method

public static GetStaysOpen ( System.Windows.Controls.Primitives popup ) : bool
popup System.Windows.Controls.Primitives
return bool

SetActualOrientation() public static method

public static SetActualOrientation ( System.Windows.Controls.Primitives popup, PopupOrientation orientation ) : void
popup System.Windows.Controls.Primitives
orientation PopupOrientation
return void

SetPlacementChild() public static method

public static SetPlacementChild ( System.Windows.Controls.Primitives popup, FrameworkElement placementChild ) : void
popup System.Windows.Controls.Primitives
placementChild System.Windows.FrameworkElement
return void

SetPlacementParent() public static method

public static SetPlacementParent ( System.Windows.Controls.Primitives popup, FrameworkElement placementParent ) : void
popup System.Windows.Controls.Primitives
placementParent System.Windows.FrameworkElement
return void

SetPlacementTarget() public static method

public static SetPlacementTarget ( System.Windows.Controls.Primitives popup, FrameworkElement placementTarget ) : void
popup System.Windows.Controls.Primitives
placementTarget System.Windows.FrameworkElement
return void

SetPreferredOrientations() public static method

public static SetPreferredOrientations ( System.Windows.Controls.Primitives popup, PopupOrientationCollection orientations ) : void
popup System.Windows.Controls.Primitives
orientations PopupOrientationCollection
return void

SetStaysOpen() public static method

public static SetStaysOpen ( System.Windows.Controls.Primitives popup, bool staysOpen ) : void
popup System.Windows.Controls.Primitives
staysOpen bool
return void

Property Details

ActualOrientationProperty public_oe static_oe property

public static DependencyProperty,System.Windows ActualOrientationProperty
return System.Windows.DependencyProperty

PlacementChildProperty public_oe static_oe property

public static DependencyProperty,System.Windows PlacementChildProperty
return System.Windows.DependencyProperty

PlacementParentProperty public_oe static_oe property

public static DependencyProperty,System.Windows PlacementParentProperty
return System.Windows.DependencyProperty

PlacementTargetProperty public_oe static_oe property

public static DependencyProperty,System.Windows PlacementTargetProperty
return System.Windows.DependencyProperty

PreferredOrientationsProperty public_oe static_oe property

public static DependencyProperty,System.Windows PreferredOrientationsProperty
return System.Windows.DependencyProperty

StaysOpenProperty public_oe static_oe property

public static DependencyProperty,System.Windows StaysOpenProperty
return System.Windows.DependencyProperty