Hi,
I have a class, SpotByMonth that has this property, Year, Month, and 31 propertys like Day1, Day2… to Day31.
I need to change the label o Day1 to Day31 to the corresponding DayOfWeek.
Example:
In July 2012
Day1 => We
Day2 => Th
…
Day30 => We
Day31 Visible=False
I copy part of the class, I can change the backcolor, but i coudn't change the caption
Regards
Dim _01 As Integer
<
Appearance("PintarColumnas1", Criteria:="WE01=True", FontColor:="White", BackColor:="Blue")> _
<
Custom("Caption", "01")> _
<
RuleRange("ReglaRango.PautaDetalle.Dia1", DefaultContexts.Save, 0, 100)> _
Public Property D01() As Integer
Get
Return _01
End Get
Set(ByVal Value As Integer)
SetPropertyValue(Of Integer)("D01", _01, Value)
End Set
End Property
Public
ReadOnly Property WD01 As String
Get
Return GetLetterWeekDay(1)
End Get
End Property