Updated StackPanel (markdown)

master
DianeXceed 9 years ago
parent
commit
6c30c0f9f4
  1. 72
      StackPanel.md

72
StackPanel.md

@ -5,41 +5,43 @@ Derives from AnimationPanel
Exactly like WPF's native StackPanel, except this panel can animate its children and be used inside SwitchPanel. Exactly like WPF's native StackPanel, except this panel can animate its children and be used inside SwitchPanel.
![](StackPanel_stackpanel.jpg) [[StackPanel_stackpanel.jpg]]
## Properties ### Properties
|| Property || Description | Property | Description |
| * | All the Properties from [Canvas](Canvas) Panel | --- | --- |
| CanHorizontallyScroll | Gets or sets if the horizontal scrolling is enabled. | * | All the Properties from [[Canvas]] Panel |
| CanVerticallyScroll | Gets or sets if the vertical scrolling is enabled. | CanHorizontallyScroll | Gets or sets if the horizontal scrolling is enabled. |
| ExtendHeight | Gets the Height extended for the panel. | CanVerticallyScroll | Gets or sets if the vertical scrolling is enabled. |
| ExtendWidth | Gets the Width extended for the panel. | ExtendHeight | Gets the Height extended for the panel. |
| HorizontalOffset | Gets the horizontal offset for the panel. | ExtendWidth | Gets the Width extended for the panel. |
| Orientation | Gets or sets the Orientation property. This dependency property indicates the direction in which children are stacked (vertically or horizontally). | HorizontalOffset | Gets the horizontal offset for the panel. |
| ScrollOwner | Gets or sets the ScrollViewer. | Orientation | Gets or sets the Orientation property. This dependency property indicates the direction in which children are stacked (vertically or horizontally). |
| VerticalOffset | Gets the Vertical offset. | ScrollOwner | Gets or sets the ScrollViewer. |
| ViewportHeight | Gets the height of the viewport. | VerticalOffset | Gets the Vertical offset. |
| ViewportWidth | Gets the width of the viewport. | ViewportHeight | Gets the height of the viewport. |
| ViewportWidth | Gets the width of the viewport. |
## Events ### Events
|| Event || Description | Event | Description |
| * | All the Events from [Canvas](Canvas) Panel. | --- | --- |
| * | All the Events from [[Canvas]] Panel. |
## Methods ### Methods
|| Method || Description | Method | Description |
| LineDown() | Sets Vertical offset down by one. | --- | --- |
| LineLeft() | Sets Horizontal offset left by one. | LineDown | Sets Vertical offset down by one. |
| LineUp() | Sets Vertical offset up by one. | LineLeft | Sets Horizontal offset left by one. |
| LineRight() | Sets Horizontal offset right by one. | LineUp | Sets Vertical offset up by one. |
| MakeVisible( Visual visual, Rect rectangle ) | show a children of the panel. | LineRight | Sets Horizontal offset right by one. |
| MouseWheelDown() | Sets Vertical offset down by SystemParameters.WheelScrollLines. | MakeVisible | show a children of the panel. |
| MouseWheelLeft() | Sets Horizontal offset left by SystemParameters.WheelScrollLines. | MouseWheelDown | Sets Vertical offset down by SystemParameters.WheelScrollLines. |
| MouseWheelUp() | Sets Vertical offset up by SystemParameters.WheelScrollLines. | MouseWheelLeft | Sets Horizontal offset left by SystemParameters.WheelScrollLines. |
| MouseWheelRight() | Sets Horizontal offset right by SystemParameters.WheelScrollLines. | MouseWheelUp | Sets Vertical offset up by SystemParameters.WheelScrollLines. |
| PageDown() | Sets Vertical offset down by page. | MouseWheelRight | Sets Horizontal offset right by SystemParameters.WheelScrollLines. |
| PageLeft() | Sets Horizontal offset left by page. | PageDown | Sets Vertical offset down by page. |
| PageUp() | Sets Vertical offset up by page. | PageLeft | Sets Horizontal offset left by page. |
| PageRight() | Sets Horizontal offset right by page. | PageUp | Sets Vertical offset up by page. |
| SetHorizontalOffset( double offset ) | Sets the Horizontal offset. | PageRight | Sets Horizontal offset right by page. |
| SetVerticalOffset( double offset ) | Sets the Vertical offset. | SetHorizontalOffset | Sets the Horizontal offset. |
--- | SetVerticalOffset | Sets the Vertical offset. |

Loading…
Cancel
Save