行頭文字に任意の文字を設定することができます。
ListLabelCell.BulletStyleプロパティにCustomTextBulletを設定して、
ICustomTextBulletインターフェイスを実装するクラスを作成し、
CustomTextBulletプロパティに設定します。
Imports GrapeCity.Win.MultiRow
Public Class JapaneseBullet
Implements ICustomTextBullet
Public Function GetTextBullet(ByVal index As Integer) As String Implements GrapeCity.Win.MultiRow.ICustomTextBullet.GetTextBullet
If index = 0 Then
Return "一"
ElseIf index = 1 Then
Return "二"
ElseIf index = 2 Then
Return "三"
Else
Return "他"
End If
End Function
End Class
listLabelCell1.BulletStyle = BulletStyle.CustomTextBullet
listLabelCell1.CustomTextBullet = New JapaneseBullet
using GrapeCity.Win.MultiRow;
public class JapaneseBullet : ICustomTextBullet
{
public string GetTextBullet(int index)
{
if(index == 0)
{
return "一";
}
else if(index == 1)
{
return "二";
}
else if (index == 2)
{
return "三";
}
else
{
return "他";
}
}
}
listLabelCell1.BulletStyle = BulletStyle.CustomTextBullet;
listLabelCell1.CustomTextBullet = new JapaneseBullet();