or
Function CompareTypeByName(ByVal x As System.Type, ByVal y As System.Type) As Integer If x Is Nothing Then If y Is Nothing Then Return 0 Else Return -1 End If Else If y Is Nothing Then Return 1 Else Return x.Name.CompareTo(y.Name) End If End IfEnd FunctionDim typeList As New List(Of System.Type) typeList.Add(GetType(String)) typeList.Add(GetType(Int32)) typeList.Sort(AddressOf CompareTypeByName)<telerik:RadToolBar > <telerik:RadDropDownButton > <StackPanel Orientation="Horizontal"> <Image Source="/Fdj.Eurp.GuiMain;component/Graphics/User.png" ></Image> <TextBlock Text="aaa" ></TextBlock> </StackPanel> <telerik:RadDropDownButton.DropDownContent> <StackPanel Orientation="Vertical" Name="spUserAccountPanel"> <telerik:RadButton Content="bbb"></telerik:RadButton> <telerik:RadButton Content="ccc"></telerik:RadButton>...