You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: knowledge-base/converter-exception.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ res_type: kb
15
15
16
16
## Problem
17
17
18
-
The WinForms converter crashes when converting a project. This happens with Visual Studio 2017 18.7 or newer. This is caused because in the latest version of Visual Studio a type used in the converter was moved. Detailed information can be found here: [Version used in VS 15.8 not available on NuGet (Breaks VS extension using MSBuildWorkspace) Issue #29334](https://github.com/dotnet/roslyn/issues/29334)
18
+
The WinForms converter crashes when converting a project. This happens with Visual Studio 2017 15.7 and newer. This is caused because in the latest version of Visual Studio a type used in the converter was moved. Detailed information can be found here: [Version used in VS 15.8 not available on NuGet (Breaks VS extension using MSBuildWorkspace) Issue #29334](https://github.com/dotnet/roslyn/issues/29334)
Copy file name to clipboardexpand all lines: telerik-presentation-framework/layout/sample-arrange-stage-scenarios.md
-2
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,6 @@ In the example below, the child DesiredSize is smaller than the rectangle alloca
27
27
28
28
>note The area of the child that falls outside of the rectangle allocated by the parent is not clipped, but is shown to the extent it is within the area of the parent. See [Clipping]({%slug winforms/telerik-presentation-framework/layout/clipping%}) for more information.
29
29
>
30
-
31
30
## Parent Allocates Size Smaller than Requested Size
32
31
33
32
In the example below, the child DesiredSize is larger than the rectangle allocated by the parent.
@@ -50,4 +49,3 @@ In the example below, the child DesiredSize is larger than the rectangle allocat
Copy file name to clipboardexpand all lines: telerik-presentation-framework/layout/sizing-properties.md
+5-7
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ Arrange allocates a cell in which the item child will be positioned. If the chil
17
17
18
18
* If the size of the child is smaller than the size of the cell, the child can be aligned within the cell
19
19
20
-
* If the size of the child is bigger than the size of the cell, the child is cut by the cell in accordance with the[clipping]({%slug winforms/telerik-presentation-framework/layout/clipping%}) behavior.
20
+
* If the size of the child is bigger than the size of the cell, the child is cut by the cell in accordance with the[clipping]({%slug winforms/telerik-presentation-framework/layout/clipping%}) behavior.
21
21
22
22
If the child is stretchable, it fills to the maximum the dimension of the cell in the stretching direction. Furthermore, stretching is only applied in case of stretching up. There is no shrinking of element dimensions to make them fit in size less than the requested DesiredSize.
23
23
@@ -26,9 +26,9 @@ If the child is stretchable, it fills to the maximum the dimension of the cell i
26
26
* In case stretching in a particular direction is turned on, the child element will size itself to fill the size allocated to it by the parent, taking into account its margin and padding properties.
27
27
28
28
* In the case that a child is larger than its parent, the parent will only increase in size to accommodate the child in case all of the conditions below are fulfilled:
29
-
1.Parent’s __AutoSize__ property is set to true.
30
-
2.Parent’s __StretchHorizontally__ and __StretchVertically__ properties are set to *false*.
31
-
3.Child’s __DesiredSize__ is non-zero.
29
+
1.Parent’s __AutoSize__ property is set to true.
30
+
2.Parent’s __StretchHorizontally__ and __StretchVertically__ properties are set to *false*.
31
+
3.Child’s __DesiredSize__ is non-zero.
32
32
33
33
## ZIndex
34
34
@@ -44,7 +44,6 @@ The desired size returned by the measure stage of the layout process can be igno
44
44
45
45
>caution When the __BypassLayoutPolicies__ flag is set to true, the transformation and constraint implementing logic is bypassed. Any transformation will therefore have to be implemented by the user.
46
46
>
47
-
48
47
## FitToSizeMode
49
48
50
49
The RadElement __FitToSizeMode__ property controls the area that a child element may paint itself. By default all children are placed in the parent content area and can paint in that area only. __FitToSizeMode__ is taken into account when measuring and arranging elements during layout.
@@ -65,7 +64,7 @@ The __ConrolBoundingRectangle__ property stores the bounds of an element relativ
65
64
66
65
## DesiredSize
67
66
68
-
The __DesiredSize__ property is the size returned by the __MeasureOverride__ methodof an element. It indicates how much space is needed by the children of the element to be ordered according to the logic implemented in the MeasureOverride method. The __DesiredSize__ is equal to the __BoundingRectangle.Size__.
67
+
The __DesiredSize__ property is the size returned by the __MeasureOverride__ methodof an element. It indicates how much space is needed by the children of the element to be ordered according to the logic implemented in the MeasureOverride method. The __DesiredSize__ is equal to the __BoundingRectangle.Size__.
Copy file name to clipboardexpand all lines: telerik-presentation-framework/microsoft-active-accessibility-support.md
+1-2
Original file line number
Diff line number
Diff line change
@@ -20,11 +20,10 @@ Microsoft Active Accessibility is a COM-based technology that provides a standar
20
20
MSAA it is also a great automation tool, which Microsoft included in Visual Studio 2010. The automation allows developers to access and manipulate all UI elements in applications that support it. However, at this point only the standard Windows Forms controls have support for this technology, and it is quite limited.
21
21
22
22
Telerik UI for WinForms allows you to create a simple coded UI test using MSAA in a few mouse clicks. An example is available [here]({%slug winforms/codedui/getting-started%}).
RadControls are built by composing RadElement trees instead of overriding the OnPaint method. [Elements]({%slug winforms/telerik-presentation-framework/elements/overview%})cantake the form of lightweight[primitive elements]({%slug winforms/telerik-presentation-framework/elements/overview%})that draw the individual parts of a control to the form, [layout elements]({%slug winforms/telerik-presentation-framework/elements/overview%}) that are responsible for arranging primitives on the form, and [component elements]({%slug winforms/telerik-presentation-framework/elements/overview%}) that handle user input and are responsible for creating layout and primitive elements.Elements can be nested to any arbitrary level of complexity.
14
+
RadControls are built by composing RadElement trees instead of overriding the OnPaint method. [Elements]({%slug winforms/telerik-presentation-framework/elements/overview%})cantake the form of lightweight[primitive elements]({%slug winforms/telerik-presentation-framework/elements/overview%})that draw the individual parts of a control to the form, [layout elements]({%slug winforms/telerik-presentation-framework/elements/overview%}) that are responsible for arranging primitives on the form, and [component elements]({%slug winforms/telerik-presentation-framework/elements/overview%}) that handle user input and are responsible for creating layout and primitive elements.Elements can be nested to any arbitrary level of complexity.
15
15
16
-
* A number of pre-built [primitives]({%slug winforms/telerik-presentation-framework/primitives/overview%})are available for building themable user interfaces quickly including [text]({%slug winforms/telerik-presentation-framework/primitives/textprimitive%}), [gradient fills]({%slug winforms/telerik-presentation-framework/primitives/fillprimitive%}), [borders]({%slug winforms/telerik-presentation-framework/primitives/borderprimitive%}), [checks]({%slug winforms/telerik-presentation-framework/primitives/checkprimitive%}), [arrows]({%slug winforms/telerik-presentation-framework/primitives/arrowprimitive%}), [lines]({%slug winforms/telerik-presentation-framework/primitives/lineprimitive%}), [radio buttons]({%slug winforms/telerik-presentation-framework/primitives/radioprimitive%}), [images]({%slug winforms/telerik-presentation-framework/primitives/imageprimitive%})and [trackbars]({%slug winforms/telerik-presentation-framework/primitives/trackbarprimitive%}).
16
+
* A number of pre-built [primitives]({%slug winforms/telerik-presentation-framework/primitives/overview%})are available for building themable user interfaces quickly including [text]({%slug winforms/telerik-presentation-framework/primitives/textprimitive%}), [gradient fills]({%slug winforms/telerik-presentation-framework/primitives/fillprimitive%}), [borders]({%slug winforms/telerik-presentation-framework/primitives/borderprimitive%}), [checks]({%slug winforms/telerik-presentation-framework/primitives/checkprimitive%}), [arrows]({%slug winforms/telerik-presentation-framework/primitives/arrowprimitive%}), [lines]({%slug winforms/telerik-presentation-framework/primitives/lineprimitive%}), [radio buttons]({%slug winforms/telerik-presentation-framework/primitives/radioprimitive%}), [images]({%slug winforms/telerik-presentation-framework/primitives/imageprimitive%})and [trackbars]({%slug winforms/telerik-presentation-framework/primitives/trackbarprimitive%}).
17
17
18
-
*[Elements]({%slug winforms/telerik-presentation-framework/elements/overview%})combine primitives to form the basis of a functioning control. For example, RadLabelElement combines a [BorderPrimitive]({%slug winforms/telerik-presentation-framework/primitives/borderprimitive%}), [FillPrimitive]({%slug winforms/telerik-presentation-framework/primitives/fillprimitive%}) and [TextPrimitive]({%slug winforms/telerik-presentation-framework/primitives/textprimitive%}), then adds specific label properties__TextAlignment__ and __BorderVisible__.
18
+
*[Elements]({%slug winforms/telerik-presentation-framework/elements/overview%})combine primitives to form the basis of a functioning control. For example, RadLabelElement combines a [BorderPrimitive]({%slug winforms/telerik-presentation-framework/primitives/borderprimitive%}), [FillPrimitive]({%slug winforms/telerik-presentation-framework/primitives/fillprimitive%}) and [TextPrimitive]({%slug winforms/telerik-presentation-framework/primitives/textprimitive%}), then adds specific label properties__TextAlignment__ and __BorderVisible__.
19
19
20
-
* Layout elements descending from [LayoutPanel]({%slug winforms/telerik-presentation-framework/class-hierarchy/layoutpanel%}) manage the arrangement of child elements. For example, StackLayoutPanel arranges elements in a horizontal or vertical stack that may wrap to new lines. StripLayoutPanel orders elements in a single vertical or horizontal line.
20
+
* Layout elements descending from [LayoutPanel]({%slug winforms/telerik-presentation-framework/class-hierarchy/layoutpanel%}) manage the arrangement of child elements. For example, StackLayoutPanel arranges elements in a horizontal or vertical stack that may wrap to new lines. StripLayoutPanel orders elements in a single vertical or horizontal line.
21
21
22
22
*[RadControls]({%slug winforms/telerik-presentation-framework/class-hierarchy/radcontrol%}) are typically thin wrappers around a component element, handle any direct communication with Windows and establish communication to the RadElement tree by creating a root element and adding elements to the root element. RadLabel for example simply creates a root element and then creates and adds a RadLabelElement to the root element.
0 commit comments