Tag: telerik

如何使用Telerik导出到Excel(XLSX)时解释集合?

情景 我正在使用Telerik UI For Windows窗体 。 我有一个RadGridView ,我代表一个名为MarketInfo的自定义types: Public NotInheritable Class MarketInfo … Public ReadOnly Property Participants As ReadOnlyCollection(Of ParticipantInfo) Get Return Me.GetParticipants() End Get End Property … End Class 它只包含文本和布尔值属性,而Participants属性则返回另一个自定义types的集合: Private Function GetParticipants(ByVal market As XElement) As ReadOnlyCollection(Of ParticipantInfo) Dim participantInfoList As New List(Of ParticipantInfo) For Each participantNode As XElement In market…<participant> participantInfoList.Add(New ParticipantInfo(participantNode)) […]