Skip to content

Commit a25f3aa

Browse files
Fixed broken links
I absolutely loath whoever decided to create a "detailed-reference" directory. Absolutely moronic.
1 parent 102cb88 commit a25f3aa

File tree

67 files changed

+173
-72
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+173
-72
lines changed

docs/basics/data/data-binding/data-binding-syntax.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ be `(r: 100, g: 80, b: 255)`.
194194

195195
:::tip
196196
An alternative is to use an `InlineCollection` of `Run` elements each with their own single parameter
197-
binding. This allows visual customization of each segment. See the example [here](/docs/reference/controls/detailed-reference/textblock#run)
197+
binding. This allows visual customization of each segment. See the example [here](/docs/reference/controls/textblock#run)
198198
:::
199199

200200
### Built-in Conversions

docs/basics/user-interface/controls/builtin-controls.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Here are some of the more commonly-used Avalonia controls, organized by category
66

77
| Control |Description|
88
|:-------------------------------------------------------------------------------|:----|
9-
| [Border](../../../reference/controls/detailed-reference/border.md) |Decorates a single child with a border and background.|
9+
| [Border](../../../reference/controls/border.md) |Decorates a single child with a border and background.|
1010
| [Canvas](../../../reference/controls/canvas.md) |Displays child controls at specified positions.|
1111
| [Dock Panel](../../../reference/controls/dockpanel.md) |Arranges child controls along specified edges (top, bottom, left, right) with one filling any remaining space.|
1212
| [Expander](../../../reference/controls/expander.md) |Has a header area (always visible) and a collapsible content section (single child).|
@@ -17,9 +17,9 @@ Here are some of the more commonly-used Avalonia controls, organized by category
1717
| [Scroll Viewer](../../../reference/controls/scrollviewer.md) |Adds scroll bars and scrolling behavior if the (single) child is larger than the space available.|
1818
| [Split View](../../../reference/controls/splitview.md) |Adds a collapsible pane to the edge of its (single child) content zone.|
1919
| [Stack Panel](../../../reference/controls/stackpanel.md) |Allows multiple child controls, arranged in sequence, horizontally or vertically.|
20-
| [Tab Control](../../../reference/controls/detailed-reference/tabcontrol.md) |The tab control allows you to sub-divide a view into tab items.|
21-
| [Uniform Grid](../../../reference/controls/detailed-reference/uniform-grid.md) |Allows multiple child controls, arranged in a grid with cells of uniform column and row size.|
22-
| [Wrap Panel](../../../reference/controls/detailed-reference/wrappanel.md) |Arranges child controls in sequence from left to right, while they fit in the width. Starts a new line when there is no space left.|
20+
| [Tab Control](../../../reference/controls/tabcontrol.md) |The tab control allows you to sub-divide a view into tab items.|
21+
| [Uniform Grid](../../../reference/controls/uniform-grid.md) |Allows multiple child controls, arranged in a grid with cells of uniform column and row size.|
22+
| [Wrap Panel](../../../reference/controls/wrappanel.md) |Arranges child controls in sequence from left to right, while they fit in the width. Starts a new line when there is no space left.|
2323

2424
## Buttons
2525

@@ -50,9 +50,9 @@ These controls display repeating data, in either a tabular or list format:
5050
|Control|Description|
5151
|:----|:----|
5252
|[AutoCompleteBox](../../../reference/controls/autocompletebox.md)|A control that shows a text box for user input and a drop-down that contains possible matches based on what has been typed.|
53-
|[TextBlock](../../../reference/controls/detailed-reference/textblock.md)|A control that displays a block of text. Read-only.|
54-
|[TextBox](../../../reference/controls/detailed-reference/textbox.md)|Used to display or edit text without formatting restrictions.|
55-
|[SelectableTextBlock](../../../reference/controls/detailed-reference/selectable-textblock.md)|Used to display or edit text without formatting restrictions. Allows selecting and copying.|
53+
|[TextBlock](../../../reference/controls/textblock.md)|A control that displays a block of text. Read-only.|
54+
|[TextBox](../../../reference/controls/textbox.md)|Used to display or edit text without formatting restrictions.|
55+
|[SelectableTextBlock](../../../reference/controls/selectable-textblock.md)|Used to display or edit text without formatting restrictions. Allows selecting and copying.|
5656
|[MaskedTextBox](../../../reference/controls/maskedtextbox.md)|Used to display text in the format contained in a mask; or used to edit text using the format mask to prevent invalid user input.|
5757

5858
## Value selection
@@ -61,23 +61,23 @@ These controls display repeating data, in either a tabular or list format:
6161
|:----|:----|:----|
6262
|[CheckBox](../../../reference/controls/checkbox.md)|Boolean|True value presented as a check mark. Click interaction toggles the value. Has an option to display an 'unknown' value.|
6363
|[Slider](../../../reference/controls/slider.md)|Double|Relative value compared to a maximum and minimum value presented as the position along the length of the slider track of the slider button. Drag interaction on the slider button can alter the value between the maximum and minimum values. Keyboard and click interactions can also nudge the value.|
64-
|[Calendar](../../../reference/controls/detailed-reference/calendar)|DateTime|The calendar is a control for users to select dates or date ranges.|
65-
|[CalendarDatePicker](../../../reference/controls/detailed-reference/calendar/calendar-date-picker.md)|DateTime|An extension of the calendar control that includes a text box and button.|
64+
|[Calendar](../../../reference/controls/calendar)|DateTime|The calendar is a control for users to select dates or date ranges.|
65+
|[CalendarDatePicker](../../../reference/controls/calendar/calendar-date-picker.md)|DateTime|An extension of the calendar control that includes a text box and button.|
6666
|[ColorPicker](../../../reference/controls/colorpicker)|Color / HsvColor|The color picker supports user-selection and editing of colors using a spectrum, palette and component sliders. It also supports an optional alpha component, RGB or HSV color models and hexadecimal color values.|
6767
|[DatePicker](../../../reference/controls/datepicker.md)|DateTime|The date picker has three 'spinner' controls to allow the user to pick a date value.|
68-
|[TimePicker](../../../reference/controls/detailed-reference/timepicker.md)|TimeSpan|The time picker has three 'spinner' controls to allow the user to pick a time from hours, minutes and seconds.|
68+
|[TimePicker](../../../reference/controls/timepicker.md)|TimeSpan|The time picker has three 'spinner' controls to allow the user to pick a time from hours, minutes and seconds.|
6969

7070
## Displaying images
7171

7272
|Control|Description|
7373
|:----|:----|
7474
|[Image](../../../reference/controls/image.md)|Displays a bitmap or vector image.|
75-
|[PathIcon](../../../reference/controls/detailed-reference/path-icon.md)|Draws a vector image using the current `Foreground`.|
75+
|[PathIcon](../../../reference/controls/path-icon.md)|Draws a vector image using the current `Foreground`.|
7676

7777
## Menus and Popups
7878

7979
|Control|Description|
8080
|:----|:----|
8181
|[Menu](../../../reference/controls/menu.md)|Displays an application menu.|
8282
|[Flyouts](../../../reference/controls/flyouts.md)|Attaches a popup or a context menu to a control.|
83-
|[ToolTip](../../../reference/controls/detailed-reference/tooltip.md)|Displays a tool tip when a control is hovered.|
83+
|[ToolTip](../../../reference/controls/tooltip.md)|Displays a tool tip when a control is hovered.|

docs/basics/user-interface/controls/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ These are just a few examples of the many controls available in Avalonia UI. Eac
2020
To get started with using controls in Avalonia UI, you can refer to the documentation for each control type. The documentation provides detailed explanations, examples, and code snippets to help you understand and utilize the controls effectively.
2121

2222
- [Button Control Documentation](../../../reference/controls/buttons/button)
23-
- [TextBox Control Documentation](../../../reference/controls/detailed-reference/textbox)
24-
- [Label Control Documentation](../../../reference/controls/detailed-reference/label)
23+
- [TextBox Control Documentation](../../../reference/controls/textbox)
24+
- [Label Control Documentation](../../../reference/controls/label)
2525
- [Checkbox Control Documentation](../../../reference/controls/checkbox)
2626
- [Slider Control Documentation](../../../reference/controls/slider)
2727
- [ListBox Control Documentation](../../../reference/controls/listbox)

docs/concepts/custom-itemspanel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import ItemsControlCanvasScreenshot from '/img/concepts/itemscontrol-with-canvas
99
All `ItemsControl`s have an item container panel which is used to layout their items. It is possible to override the type of panel used by the control to achieve custom/alternative layouts of items in a control. This document provides some examples showcasing how and why you would do this.
1010

1111
- [`ItemsControl`](./../reference/controls/itemscontrol)
12-
- [`TreeView`](./../reference/controls/detailed-reference/treeview-1)
12+
- [`TreeView`](./../reference/controls/treeview-1)
1313
- [`Carousel`](./../reference/controls/carousel)
1414
- [`Menu`](./../reference/controls/menu)
1515
- [`ComboBox`](./../reference/controls/combobox)

docs/reference/controls/border.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
description: REFERENCE - Built-in Controls
33
---
44

5-
import BorderPodLookScreenshot from '/img/reference/controls/detailed-reference/border/border-pod-look.png';
6-
import BorderDropShadowScreenshot from '/img/reference/controls/detailed-reference/border/border-drop-shadow.png';
5+
import BorderPodLookScreenshot from '/img/reference/controls/border/border-pod-look.png';
6+
import BorderDropShadowScreenshot from '/img/reference/controls/border/border-drop-shadow.png';
77

88
# Border
99

docs/reference/controls/image-controls.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ If you plan to bind an image source, you will need to use an image converter. To
1212

1313
| | | |
1414
| ---------------------------------------------------- | ------------------------------------------------ | - |
15-
| [DrawingImage](detailed-reference/drawing-image.md) | Displays a vector image. | |
15+
| [DrawingImage](./drawing-image.md) | Displays a vector image. | |
1616
| [Image](image.md) | Displays a bitmap image. | |
17-
| [PathIcon](detailed-reference/path-icon.md) | Draws an icon from stream geometry instructions. | |
17+
| [PathIcon](./path-icon.md) | Draws an icon from stream geometry instructions. | |

docs/reference/controls/image.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Images can be used to compose the content of another control. For example, you c
1818
The image displayed can be resized and scaled. The default settings for scaling (uniform stretch in both directions) will result in the image being fitted to the size (width and/or height) given.
1919

2020
:::info
21-
The scaling settings for an image are the same as for the view box, see the reference [here](detailed-reference/viewbox.md).
21+
The scaling settings for an image are the same as for the view box, see the reference [here](./viewbox.md).
2222
:::
2323

2424
## Example

docs/reference/controls/layout-controls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ Layout controls allow you to use **UI Composition** to arrange your UI in a vari
1010
To review the concepts behind **UI Composition**, see [here](../../concepts/ui-composition).
1111
:::
1212

13-
<table><thead><tr><th width="168">Control</th><th>Description</th></tr></thead><tbody><tr><td><a href="detailed-reference/border">Border</a></td><td>Decorates a single child with a border and background.</td></tr><tr><td><a href="canvas">Canvas</a></td><td>Displays child controls at specified positions.</td></tr><tr><td><a href="dockpanel">DockPanel</a></td><td>Arranges child controls along specified edges (top, bottom, left, right) with one filling any remaining space.</td></tr><tr><td><a href="expander">Expander</a></td><td>Has a header area (always visible) and a collapsible content section (single child).</td></tr><tr><td><a href="grid">Grid</a></td><td>Arranges child controls in the cells of a grid, positioned by row and column. The cells can span rows and columns. </td></tr><tr><td><a href="gridsplitter">GridSplitter</a></td><td>Can be added to a grid to allow the user to resize rows or columns at runtime.</td></tr><tr><td><a href="panel">Panel</a></td><td>Allows multiple child controls, displayed in sequence. Layout calculated by child size and alignments (horizontal and vertical), relative to the panel itself. </td></tr><tr><td><a href="relativepanel">RelativePanel</a></td><td>Allows multiple child controls. The position and alignment of the child controls can be specified in relation to the panel itself, or in relation to other child controls. The size of child controls can be specified, or calculated from relations and alignments.</td></tr><tr><td><a href="scrollbar">ScrollBar</a></td><td></td></tr><tr><td><a href="scrollviewer">ScrollViewer</a></td><td>Adds scroll bars and scrolling behaviour if the (single) child is larger than the space available.</td></tr><tr><td><a href="splitview">SplitView</a></td><td>Adds a collapsible pane to the edge of its (single child) content zone. </td></tr><tr><td><a href="stackpanel">StackPanel</a></td><td>Allows multiple child controls, arranged in sequence, horizontally or vertically.</td></tr><tr><td><a href="detailed-reference/tabcontrol">TabControl</a></td><td>The tab control allows you to sub-divide a view into tab items.</td></tr><tr><td><a href="detailed-reference/uniform-grid">UniformGrid</a></td><td>Allows multiple child controls, arranged in a grid with cells of uniform column and row size.</td></tr><tr><td><a href="detailed-reference/wrappanel">WrapPanel</a></td><td>Arranges (multiple) child controls in sequence from left to right, while they fit in the width. Starts a new line when there is no space left. </td></tr></tbody></table>
13+
<table><thead><tr><th width="168">Control</th><th>Description</th></tr></thead><tbody><tr><td><a href="./border">Border</a></td><td>Decorates a single child with a border and background.</td></tr><tr><td><a href="./canvas">Canvas</a></td><td>Displays child controls at specified positions.</td></tr><tr><td><a href="./dockpanel">DockPanel</a></td><td>Arranges child controls along specified edges (top, bottom, left, right) with one filling any remaining space.</td></tr><tr><td><a href="./expander">Expander</a></td><td>Has a header area (always visible) and a collapsible content section (single child).</td></tr><tr><td><a href="grid">Grid</a></td><td>Arranges child controls in the cells of a grid, positioned by row and column. The cells can span rows and columns. </td></tr><tr><td><a href="gridsplitter">GridSplitter</a></td><td>Can be added to a grid to allow the user to resize rows or columns at runtime.</td></tr><tr><td><a href="./panel">Panel</a></td><td>Allows multiple child controls, displayed in sequence. Layout calculated by child size and alignments (horizontal and vertical), relative to the panel itself. </td></tr><tr><td><a href="./relativepanel">RelativePanel</a></td><td>Allows multiple child controls. The position and alignment of the child controls can be specified in relation to the panel itself, or in relation to other child controls. The size of child controls can be specified, or calculated from relations and alignments.</td></tr><tr><td><a href="scrollbar">ScrollBar</a></td><td></td></tr><tr><td><a href="./scrollviewer">ScrollViewer</a></td><td>Adds scroll bars and scrolling behaviour if the (single) child is larger than the space available.</td></tr><tr><td><a href="./splitview">SplitView</a></td><td>Adds a collapsible pane to the edge of its (single child) content zone. </td></tr><tr><td><a href="./stackpanel">StackPanel</a></td><td>Allows multiple child controls, arranged in sequence, horizontally or vertically.</td></tr><tr><td><a href="./tabcontrol">TabControl</a></td><td>The tab control allows you to sub-divide a view into tab items.</td></tr><tr><td><a href="./uniform-grid">UniformGrid</a></td><td>Allows multiple child controls, arranged in a grid with cells of uniform column and row size.</td></tr><tr><td><a href="./wrappanel">WrapPanel</a></td><td>Arranges (multiple) child controls in sequence from left to right, while they fit in the width. Starts a new line when there is no space left. </td></tr></tbody></table>

docs/reference/controls/menu-controls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ description: REFERENCE - Built-in Controls
66

77
Menu controls allow you to add menus to your _Avalonia UI_ app.
88

9-
<table><thead><tr><th width="173">Control</th><th>Description</th></tr></thead><tbody><tr><td><a href="contextmenu">ContextMenu</a></td><td>A context menu to attach to a control.</td></tr><tr><td><a href="menu">Menu</a></td><td>A menu that can act as a top-level menu on a window.</td></tr><tr><td><a href="nativemenu">NativeMenu</a></td><td>Displays a native menu on macOS and some Linux distributions.</td></tr><tr><td><a href="detailed-reference/tabstrip">TabStrip</a></td><td>The `TabStrip` acts like a horizontal menu.</td></tr></tbody></table>
9+
<table><thead><tr><th width="173">Control</th><th>Description</th></tr></thead><tbody><tr><td><a href="contextmenu">ContextMenu</a></td><td>A context menu to attach to a control.</td></tr><tr><td><a href="menu">Menu</a></td><td>A menu that can act as a top-level menu on a window.</td></tr><tr><td><a href="nativemenu">NativeMenu</a></td><td>Displays a native menu on macOS and some Linux distributions.</td></tr><tr><td><a href="./tabstrip">TabStrip</a></td><td>The `TabStrip` acts like a horizontal menu.</td></tr></tbody></table>

docs/reference/controls/menu-flyout.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@ title: MenuFlyout
33
description: REFERENCE - Built-in Controls
44
---
55

6-
import MenuFlyoutScreenshot from '/img/reference/controls/detailed-reference/menuflyout/menuflyout-button.gif';
6+
import MenuFlyoutScreenshot from '/img/reference/controls/menuflyout/menuflyout-button.gif';
77

88
# MenuFlyout
99

1010
A 'MenuFlyout' allows you to host a simple menu as the flyout for a control. You might use this as an alternative to the context menu.
1111

1212
:::info
13-
For details of the context menu, see the reference [here](./contextmenu.md).
13+
For details of the context menu, see the reference [here](./contextmenu).
1414
:::
1515

16-
:::info
17-
The properties of a menu flyout are the same as for a flyout. See [here](./flyouts.md).
16+
:::infos
17+
The properties of a menu flyout are the same as for a flyout. See [here](flyouts).
1818
:::
1919

2020
## Example

docs/reference/controls/nativemenu.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: REFERENCE - Built-in Controls
88
The `NativeMenu` can display a menu on _macOS_ and some Linux distributions.
99

1010
:::warning
11-
This control can only be used attached to a tray icon. For full details about the tray icon, see the reference [here](detailed-reference/tray-icon.md).
11+
This control can only be used attached to a tray icon. For full details about the tray icon, see the reference [here](./tray-icon.md).
1212
:::
1313

1414
You can create sub-menus by nesting `<MenuItem>` elements.

docs/reference/controls/path-icon.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: PathIcon
33
description: REFERENCE - Built-in Controls
44
---
55

6-
import PathIconHouseScreenshot from '/img/reference/controls/detailed-reference/pathicon/pathicon-house.png';
6+
import PathIconHouseScreenshot from '/img/reference/controls/pathicon/pathicon-house.png';
77

88
# PathIcon
99

docs/reference/controls/popup-controls.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ description: REFERENCE - Built-in Controls
66

77
These controls can be added to other controls to provide popup content.
88

9-
<table><thead><tr><th width="238">Control</th><th>Description</th></tr></thead><tbody><tr><td><a href="contextmenu">ContextMenu</a></td><td></td></tr><tr><td><a href="flyouts">Flyouts</a></td><td></td></tr><tr><td><a href="detailed-reference/tooltip">ToolTip</a></td><td></td></tr></tbody></table>
9+
<table><thead><tr><th width="238">Control</th><th>Description</th></tr></thead><tbody><tr><td><a href="contextmenu">ContextMenu</a></td><td></td></tr><tr><td><a href="flyouts">Flyouts</a></td><td></td></tr><tr><td><a href="./tooltip">ToolTip</a></td><td></td></tr></tbody></table>
1010

1111

docs/reference/controls/selectable-textblock.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: SelectableTextBlock
33
description: REFERENCE - Built-in Controls
44
---
55

6-
import TextBlockBasicScreenshot from '/img/reference/controls/detailed-reference/textblock/textblock-basic.png';
6+
import TextBlockBasicScreenshot from '/img/reference/controls/textblock/textblock-basic.png';
77

88
# SelectableTextBlock
99

0 commit comments

Comments
 (0)