'Declaration Public ReadOnly Property Appearances As Infragistics.Win.AppearancesCollection
public Infragistics.Win.AppearancesCollection Appearances {get;}
Imports Infragistics.Win Imports Infragistics.Win.UltraWinSchedule Imports System.IO Imports System.Globalization Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click ' Create a new Appearance object, using the overload that takes ' a key, which will make it easier to refer to later Dim appearance As Infragistics.Win.Appearance = New Infragistics.Win.Appearance("ShadesOfBlue") ' Set some of the color properties appearance.BackColor = Color.FromArgb(208, 225, 244) appearance.BackColor2 = Color.FromArgb(132, 163, 201) appearance.ForeColor = Color.FromArgb(0, 48, 156) appearance.BorderColor = Color.White ' Add the newy created appearance to the Appearances collection Me.ultraCalendarInfo1.Appearances.Add(appearance) End Sub
using System.Diagnostics; using Infragistics.Win; using Infragistics.Win.UltraWinSchedule; using System.IO; using System.Globalization; private void button1_Click(object sender, System.EventArgs e) { // Create a new Appearance object, using the overload that takes // a key, which will make it easier to refer to later Infragistics.Win.Appearance appearance = new Infragistics.Win.Appearance( "ShadesOfBlue" ); // Set some of the color properties appearance.BackColor = Color.FromArgb( 208, 225, 244 ); appearance.BackColor2 = Color.FromArgb( 132, 163, 201 ); appearance.ForeColor = Color.FromArgb( 0, 48, 156 ); appearance.BorderColor = Color.White; // Add the newy created appearance to the Appearances collection this.ultraCalendarInfo1.Appearances.Add( appearance ); }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2