or
this
.radDropDownList1.Location =
new
System.Drawing.Point(591, 28);
this
.radDropDownList1.Name =
"radDropDownList1"
;
this
.radDropDownList1.Size =
new
System.Drawing.Size(125, 20);
this
.radDropDownList1.TabIndex = 9;
this
.radDropDownList1.Text =
"radDropDownList1"
;
this
.radDropDownList1.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend;
this
.radDropDownList1.Location =
new
System.Drawing.Point(591, 28);
this
.radDropDownList1.Name =
"radDropDownList1"
;
this
.radDropDownList1.Size =
new
System.Drawing.Size(125, 22);
this
.radDropDownList1.TabIndex = 9;
this
.radDropDownList1.Text =
"radDropDownList1"
;
Hello,
when I load a dock layout from xml, one toolwindow is not visible.
If I drag out the ToolTabStrip and redock it or resize the ToolTabStrip, the ToolWindow "ZoomView" will be visible.
Where is the bug?
I used this http://www.telerik.com/help/winforms/dock-loading-and-saving-layouts-tutorial-saving-and-loading-layout-content.html example as startup.
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
RadDock
Orientation
=
"Vertical"
CausesValidation
=
"False"
TabIndex
=
"0"
TabStop
=
"False"
>
<
Controls
>
<
Telerik.WinControls.UI.RadSplitContainer
IsCleanUpTarget
=
"True"
Orientation
=
"Horizontal"
SplitterWidth
=
"4"
CausesValidation
=
"False"
Location
=
"5, 5"
Name
=
""
Size
=
"200, 842"
TabIndex
=
"1"
TabStop
=
"False"
Padding
=
"5, 5, 5, 5"
>
<
SizeInfo
SplitterCorrection
=
"0, 0"
AutoSizeScale
=
"0, 0"
/>
<
Controls
>
<
Telerik.WinControls.UI.Docking.ToolTabStrip
SelectedIndex
=
"0"
CanUpdateChildIndex
=
"True"
Size
=
"200, 419"
Location
=
"0, 0"
CausesValidation
=
"False"
Name
=
"DockTabStrip1"
TabIndex
=
"1"
TabStop
=
"False"
>
<
SizeInfo
SplitterCorrection
=
"0, 0"
AutoSizeScale
=
"0, 0"
/>
<
Controls
>
<
Telerik.WinControls.UI.Docking.HostWindow
PreviousDockState
=
"Docked"
Name
=
"ItemsOverview"
Size
=
"198, 393"
Location
=
"1, 24"
Text
=
"Stapelansicht"
/>
</
Controls
>
</
Telerik.WinControls.UI.Docking.ToolTabStrip
>
<
Telerik.WinControls.UI.Docking.ToolTabStrip
SelectedIndex
=
"0"
CanUpdateChildIndex
=
"True"
Size
=
"200, 419"
Location
=
"0, 423"
Name
=
"DockTabStrip2"
TabIndex
=
"2"
TabStop
=
"False"
>
<
SizeInfo
SplitterCorrection
=
"0, 0"
AutoSizeScale
=
"0, 0"
/>
<
Controls
>
<
Telerik.WinControls.UI.Docking.HostWindow
PreviousDockState
=
"Docked"
Name
=
"ItemInfoView"
Size
=
"198, 369"
Location
=
"1, 24"
Text
=
"Informationen"
/>
<
Telerik.WinControls.UI.Docking.HostWindow
PreviousDockState
=
"Docked"
Name
=
"ZoomView"
Size
=
"198, 369"
Location
=
"1, 24"
Text
=
"Zonenansicht"
/>
</
Controls
>
</
Telerik.WinControls.UI.Docking.ToolTabStrip
>
</
Controls
>
</
Telerik.WinControls.UI.RadSplitContainer
>
<
Telerik.WinControls.UI.Docking.DocumentContainer
IsMainDocumentContainer
=
"True"
Orientation
=
"Vertical"
Name
=
""
>
<
SizeInfo
SplitterCorrection
=
"0, 0"
AutoSizeScale
=
"0, 0"
SizeMode
=
"Fill"
/>
<
Controls
>
<
Telerik.WinControls.UI.Docking.DocumentTabStrip
SelectedIndex
=
"0"
CanUpdateChildIndex
=
"True"
Size
=
"1706, 842"
Location
=
"0, 0"
Name
=
"DockTabStrip3"
TabIndex
=
"0"
TabStop
=
"False"
>
<
SizeInfo
SplitterCorrection
=
"0, 0"
AutoSizeScale
=
"0, 0"
/>
<
Controls
>
<
Telerik.WinControls.UI.Docking.HostWindow
PreviousDockState
=
"Docked"
Name
=
"PageView"
Size
=
"1694, 807"
Location
=
"6, 29"
Text
=
"Seitenansicht"
/>
</
Controls
>
</
Telerik.WinControls.UI.Docking.DocumentTabStrip
>
</
Controls
>
</
Telerik.WinControls.UI.Docking.DocumentContainer
>
</
Controls
>
</
RadDock
>
Private
Class
ProcessProgressionColumn
Inherits
GridViewDataColumn
Public
Sub
New
(
ByVal
UniqueName
As
String
,
ByVal
fieldName
As
String
)
MyBase
.
New
(UniqueName, fieldName)
End
Sub
Public
Overrides
Function
GetCellType(row
As
Telerik.WinControls.UI.GridViewRowInfo)
As
System.Type
If
TypeOf
row
Is
GridViewDataRowInfo
Then
Return
GetType
(ProcessProgressionCellElement)
End
If
Return
MyBase
.GetCellType(row)
End
Function
End
Class
Private
Class
ProcessProgressionCellElement
Inherits
GridDataCellElement
Public
Sub
New
(
ByVal
column
As
GridViewColumn,
ByVal
row
As
GridRowElement)
MyBase
.
New
(column, row)
End
Sub
Protected
Overrides
ReadOnly
Property
ThemeEffectiveType
As
System.Type
Get
Return
GetType
(GridDataCellElement)
End
Get
End
Property
Public
Overrides
Function
IsCompatible(data
As
Telerik.WinControls.UI.GridViewColumn, context
As
Object
)
As
Boolean
Return
TypeOf
data
Is
ProcessProgressionColumn
AndAlso
TypeOf
context
Is
GridDataRowElement
End
Function
Private
StateProgress
As
RadProgressBarElement
Protected
Overrides
Sub
CreateChildElements()
MyBase
.CreateChildElements()
StateProgress =
New
RadProgressBarElement()
With
{.Maximum = 4}
Me
.Children.Add(StateProgress)
End
Sub
Protected
Overrides
Sub
SetContentCore(
ByVal
value
As
Object
)
If
value IsNot
Nothing
AndAlso
value IsNot DBNull.Value
Then
Me
.StateProgress.Value1 =
If
(value > 0, value, 0)
Me
.StateProgress.Value2 =
If
(value < 0,
Me
.StateProgress.Maximum, 0)
Me
.StateProgress.Text = helper.GetDescription(
CType
(value, Process_Prospection.StatuProspection))
Me
.StateProgress.IndicatorElement1.BackColor =
If
(value <> 4, Color.FromArgb(153, 238, 158), Color.FromArgb(153, 225, 238))
Me
.StateProgress.IndicatorElement1.BackColor2 =
If
(value <> 4, Color.FromArgb(8, 208, 4), Color.FromArgb(4, 187, 208))
Me
.StateProgress.IndicatorElement1.BackColor3 =
If
(value <> 4, Color.FromArgb(4, 208, 51), Color.FromArgb(4, 159, 208))
Me
.StateProgress.IndicatorElement1.BackColor4 =
If
(value <> 4, Color.FromArgb(160, 238, 153), Color.FromArgb(153, 219, 238))
End
If
End
Sub
End
Class