Class NoteCheckBox
İsim alanı : Aspose.Note Toplama: Aspose.Note.dll (25.4.0)
Bir not etiketini temsil eder ve durumunu tam ve eksik arasında ayırt edebilir.
public sealed class NoteCheckBox : CheckBox, INoteTag, ITag, IEquatable<NoteCheckBox>
{
}
Inheritance
object ← CheckBox ← NoteCheckBox
Implements
INoteTag
,
ITag
,
IEquatable
mirasçı üyeleri
CheckBox.SetCompleted(DateTime) , CheckBox.SetCompleted() , CheckBox.SetOpen() , CheckBox.CreationTime , CheckBox.CompletedTime , CheckBox.Status , CheckBox.Icon , CheckBox.Label , CheckBox.Checked , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Properties
FontColor
Şifrenin renkini alır veya ayarlar.
public Color FontColor
{
get;
set;
}
Mülkiyet Değer
Highlight
Gelişmek ya da renk belirlemek.
public Color Highlight
{
get;
set;
}
Mülkiyet Değer
Icon
İkonu alın veya ayarlayın.
public override TagIcon Icon
{
get;
}
Mülkiyet Değer
Label
Etiket metni alır veya yerleştirir.
public string Label
{
get;
set;
}
Mülkiyet Değer
Methods
CreateBlueCheckBox (← bağlantılar değiştir)
BlueCheckBoxEmpty simgesi ve belirli etiket ile yeni bir not kontrol kutusu oluşturur.
public static NoteCheckBox CreateBlueCheckBox(string label = "To Do")
{
var checkBox = new NoteCheckBox();
checkBox.Text = label;
checkBox.Color = Color.Blue;
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
CreateBlueCheckBox1 (← bağlantılar değiştir)
BlueCheckBox1Empty simgesi ve belirli etiket ile yeni bir not kontrol kutusu oluşturur.
public static NoteCheckBox CreateBlueCheckBox1(string label = "To Do priority 1")
{
return new NoteCheckBox
{
Label = label,
BackgroundColor = Color.LightSkyBlue,
IsChecked = false
};
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
CreateBlueCheckBox2 (Türkçe Altyazılı)
BlueCheckBox2Empty simgesi ve belirli etiket ile yeni bir not kontrol kutusu oluşturur.
public static NoteCheckBox CreateBlueCheckBox2(string label = "")
{
var checkBox = new NoteCheckBox();
checkBox.Name = "CreateBlueCheckBox2";
checkBox.Text = label;
checkBox.BackColor = System.Drawing.Color.FromArgb(51, 153, 255);
checkBox.ForeColor = System.Drawing.Color.White;
checkBox.Font = new System.Drawing.Font("Arial", 8.25F, System.Drawing.FontStyle.Regular);
checkBox.OnCheckChanged += (sender, e) =>
{
if (e.NewValue)
checkBox.BackColor = System.Drawing.Color.FromArgb(102, 204, 255);
else
checkBox.BackColor = System.Drawing.Color.FromArgb(51, 153, 255);
};
return checkBox;
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
CreateBlueCheckBox3 (Türkçe Altyazılı)
BlueCheckBox3Empty simgesi ve belirli etiket ile yeni bir not kontrol kutusu oluşturur.
public static NoteCheckBox CreateBlueCheckBox3(string label = "")
{
var cb = new Aspose.Words.CheckBox();
cb.FillColor = System.Drawing.Color.Blue;
cb.BorderBottomColor = System.Drawing.Color.Black;
if (!string.IsNullOrEmpty(label))
{
cb.TextFrame.Text = label;
}
return cb;
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
CreateBlueExclamationCheckBox (← bağlantılar değiştir)
BlueExclamationCheckBoxEmpty simgesi ve belirtilen etiket ile yeni bir not kontrol kutusu oluşturur.
public static NoteCheckBox CreateBlueExclamationCheckBox(string label = "")
{
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
CreateBlueFlagCheckBox (← bağlantılar değiştir)
BlueFlagCheckBoxEmpty simgesi ve belirli etiket ile yeni bir not kontrol kutusu oluşturur.
public static Aspose.Words.CheckBox CreateBlueFlagCheckBox(string label = "")
{
var checkBox = new Aspose.Words.CheckBox();
checkBox.FillColor = System.Drawing.Color.FromArgb(32, 102, 255); // Blue color
if (!string.IsNullOrEmpty(label))
checkBox.Text = label;
return checkBox;
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
CreateBluePersonCheckBox (← bağlantılar değiştir)
BluePersonCheckBoxEmpty simgesi ve belirli etiket ile yeni bir not kontrol kutusu oluşturur.
public static NoteCheckBox CreateBluePersonCheckBox(string label = "Discuss with <person a=\"\">")
{
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
CreateBlueRightArrowCheckBox (← bağlantılar değiştir)
BlueRightArrowCheckBoxEmpty simgesi ve belirli etiket ile yeni bir not kontrol kutusu oluşturur.
public static NoteCheckBox CreateBlueRightArrowCheckBox(string label = "Call back")
{
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
CreateBlueStarCheckBox (← bağlantılar değiştir)
BlueStarCheckBoxEmpty simgesi ve belirli etiket ile yeni bir not kontrol kutusu oluşturur.
public static Aspose.Words.CheckBox CreateBlueStarCheckBox(string label = "")
{
var checkBox = new Aspose.Words.CheckBox();
checkBox.CellFormat.Shading.BackgroundColor = Aspose.Words.Color.FromArgb(0, 0, 255); // Blue
checkBox.CellFormat.Shading.FillBackgroundColor.Color = Aspose.Words.Color.FromArgb(192, 192, 255); // Light blue (for stars)
checkBox.CellFormat.Border.Color = Aspose.Words.Color.FromArgb(0, 0, 255); // Blue border
if (!string.IsNullOrEmpty(label))
checkBox.Text = label;
return checkBox;
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
GörüntülemeGreenCheckBox(string)
GreenCheckBoxEmpty simgesi ve belirli etiket ile yeni bir not kontrol kutusu oluşturur.
public static NoteCheckBox CreateGreenCheckBox(string label = "")
{
var checkBox = new NoteCheckBox();
checkBox.FontColor = System.Drawing.Color.Lime;
checkBox.CheckedBackgroundColor = System.Drawing.Color.LimeGreen;
checkBox.UncheckedBackgroundColor = System.Drawing.Color.WhiteSmoke;
if (!string.IsNullOrEmpty(label))
checkBox.Text = label;
return checkBox;
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
CreateGreenCheckBox1 (← bağlantılar değiştir)
GreenCheckBox1Empty simgesi ve belirli etiket ile yeni bir not kontrol kutusu oluşturur.
public static NoteCheckBox CreateGreenCheckBox1(string label = "")
{
var checkBox = new NoteCheckBox();
checkBox.Name = "CreateGreenCheckBox1";
checkBox.Label = label;
checkBox.BackgroundColor = System.Drawing.Color.FromArgb(76, 255, 73); // RGB for Green
return checkBox;
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
GörüntülemeGreenCheckBox2(string)
GreenCheckBox2Empty simgesi ve belirli etiket ile yeni bir not kontrol kutusu oluşturur.
public static NoteCheckBox CreateGreenCheckBox2(string label = "")
{
Aspose.Words.CheckBox checkBox = new Aspose.Words.CheckBox();
checkBox.Shading.BackgroundColor = System.Drawing.ColorTranslator.FromHtml("#9CCC65"); // Green color
checkBox.IsSelected = false;
checkBox.LinkFieldId = "";
if (!string.IsNullOrEmpty(label))
checkBox.Text = label;
return checkBox;
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
GörüntülemeGreenCheckBox3 (string)
GreenCheckBox3Empty simgesi ve belirli etiket ile yeni bir not kontrol kutusu oluşturur.
public static NoteCheckBox CreateGreenCheckBox3(string label = "")
{
var checkBox = new NoteField();
checkBox.IsFieldShaded = true;
checkBox.Shading.Color = System.Drawing.ColorTranslator.FromHtml("#00FF00");
checkBox.Text = label;
checkBox.Font.Bold = true;
checkBox.Font.Size = 12;
checkBox.Font.Name = "Arial";
return checkBox;
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
CreateGreenExclamationCheckBox (← bağlantılar değiştir)
GreenExclamationCheckBoxEmpty simgesi ve belirtilen etiket ile yeni bir not kontrol kutusu oluşturur.
public static NoteCheckBox CreateGreenExclamationCheckBox(string label = "")
{
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
GörüntülemeGreenFlagCheckBox(string)
GreenFlagCheckBoxEmpty simgesi ve belirli etiket ile yeni bir not kontrol kutusu oluşturur.
public static NoteCheckBox CreateGreenFlagCheckBox(string label = "")
{
var checkBox = new CheckBox();
checkBox.FillColor = System.Drawing.ColorTranslator.FromHtml("#00FF00"); // Green color
checkBox.BorderColor = System.Drawing.ColorTranslator.FromHtml("#00FF00"); // Green color for border
checkBox.CheckedBackgroundColor = System.Drawing.ColorTranslator.FromHtml("#00FF00"); // Green color for checked background
checkBox.UncheckedBackgroundColor = System.Drawing.SystemColors.Window;
checkBox.Text = label;
return checkBox;
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
GörüntülemeGreenPersonCheckBox(string)
GreenPersonCheckBoxEmpty simgesi ve belirli etiket ile yeni bir not kontrol kutusu oluşturur.
public static Aspose.Words.CheckBox CreateGreenPersonCheckBox(string label = "")
{
Aspose.Words.CheckBox checkBox = new Aspose.Words.CheckBox();
checkBox.Format.TextFrame.Shape.Fill.Color = System.Drawing.ColorTranslator.FromHtml("#008000"); // Green color
if (!string.IsNullOrEmpty(label))
checkBox.ApplyProperty(Aspose.Words.FieldUnit.Character, Aspose.Words.Property.Shapes.TextFrame.Text, label);
return checkBox;
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
GörüntülemeGreenRightArrowCheckBox(string)
GreenRightArrowCheckBoxEmpty simgesi ve belirtilen etiket ile yeni bir not kontrol kutusu oluşturur.
public static NoteCheckBox CreateGreenRightArrowCheckBox(string label = "")
{
}
To improve readability, it's common to add a blank line between methods within a class. Here is the reformatted code with that additional space:
public static NoteCheckBox CreateGreenRightArrowCheckBox(string label = "")
{
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
GörüntülemeGreenStarCheckBox(string)
GreenStarCheckBoxEmpty simgesi ve belirli etiket ile yeni bir not kontrol kutusu oluşturur.
public static NoteCheckBox CreateGreenStarCheckBox(string label = "")
{
}
The above code has been reformatted according to C# conventions, including proper indentation and spacing. The provided code retains its original functionality and variable/method names.
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
YaratRedFlagCheckBox(string)
RedFlagCheckBoxEmpty simgesi ve belirli etiket ile yeni bir not kontrol kutusu oluşturur.
public static NoteCheckBox CreateRedFlagCheckBox(string label = "")
{
}
This is an empty method declaration with a single public, static method `CreateRedFlagCheckBox` that takes an optional string parameter named `label`. The body of the method is not included in your input, so I have not reformatted it.
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
YellowCheckBox oluşturma (string)
YellowCheckBoxEmpty simgesi ve belirli etiket ile yeni bir not kontrol kutusu oluşturur.
public static NoteCheckBox CreateYellowCheckBox(string label = "")
{
}
Here's a more complete version with an example of the inner implementation:
using Aspose.Words;
public static NoteCheckbox CreateYellowCheckBox(string label = "")
{
CheckBox yellowCheckBox = new CheckBox();
yellowCheckBox.FillColor = System.Drawing.Color.Yellow;
if (!string.IsNullOrEmpty(label))
yellowCheckBox.Text = label;
return yellowCheckBox;
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
YellowCheckBox1 oluşturma (string)
YellowCheckBox1Empty simgesi ve belirli etiket ile yeni bir not kontrol kutusu oluşturur.
public static Aspose.Words.CheckBox CreateYellowCheckBox1(string label = "")
{
Aspose.Words.CheckBox checkBox = new Aspose.Words.CheckBox();
checkBox.FillColor = System.Drawing.Color.Yellow;
checkBox.Label = label;
return checkBox;
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
YellowCheckBox2 oluşturma (string)
YellowCheckBox2Empty simgesi ve belirli etiket ile yeni bir not kontrol kutusu oluşturur.
public static CheckBox CreateYellowCheckBox2(string label = "To Do priority 2")
{
var checkBox = new CheckBox() { NormalStyle.BackColor = System.Drawing.Color.Yellow };
checkBox.Updatable = true;
checkBox.ParagraphFormat.Alignment = WdParagraphAlignment.wdAlignParagraphLeft;
checkBox.ParagraphFormat.LineSpacingRule = WdLineSpacing.wdLineSpaceSingle;
checkBox.Text = label;
return checkBox;
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
YellowCheckBox3 oluşturma (string)
YellowCheckBox3Empty simgesi ve belirli etiket ile yeni bir not kontrol kutusu oluşturur.
public static Aspose.Words.CheckBox CreateYellowCheckBox3(string label = "")
{
var checkBox = new Aspose.Words.CheckBox();
checkBox.FillColor = System.Drawing.Color.Yellow;
if (!string.IsNullOrEmpty(label))
checkBox.Text = label;
return checkBox;
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
YellowExclamationCheckBox oluşturma(string)
YellowExclamationCheckBoxEmpty simgesi ve belirtilen etiket ile yeni bir not kontrol kutusu oluşturur.
public static NoteCheckBox CreateYellowExclamationCheckbox(string label = "Client request")
{
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
YellowPersonCheckBox oluşturma(string)
YellowPersonCheckBoxEmpty simgesi ve belirtilen etiket ile yeni bir not kontrol kutusu oluşturur.
public static Aspose.Words.CheckBox CreateYellowPersonCheckbox(string label = "Discuss with manager")
{
var checkBox = new Aspose.Words.CheckBox();
checkBox.FillColor = System.Drawing.Color.Yellow;
checkBox.Label = label;
return checkBox;
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
YellowRightArrowCheckBox oluşturun(string)
YellowRightArrowCheckBoxEmpty simgesi ve belirtilen etiket ile yeni bir not kontrol kutusu oluşturur.
public static Aspose.Words.CheckBox CreateYellowRightArrowCheckBox(string label = "")
{
var checkBox = new Aspose.Words.CheckBox();
checkBox.FillColor = System.Drawing.Color.Yellow;
checkBox.LineWidth = 3;
checkBox.LeftMargin = 0;
checkBox.TopMargin = 0;
checkBox.RightMargin = 12;
checkBox.BottomMargin = 0;
if (!string.IsNullOrEmpty(label))
checkBox.Text = label;
var arrow = new Aspose.Words.Shape();
arrow.Type = Aspose.Words.ShapeType.Rectangle;
arrow.FillFormat.ForeColor.Color = System.Drawing.Color.Black;
arrow.LineFormat.Width = 3;
arrow.AddFormattedShape(0, 5, 12, 0, 0, 12, 6);
arrow.AddFormattedShape(0, 0, 0, 6, 6, 0, 0);
arrow.AddFormattedShape(12, 0, 12, 6, 6, 6, 0);
checkBox.Shapes.Add(arrow);
return checkBox;
}
Parameters
label
string
Etiket etiketidir.
Returns
Aspose.Note.NoteCheckBox için tıklayınız
Eşitlikler ( Object )
Belirlenen nesnenin mevcut nesneye eşit olup olmadığını belirler.
public override bool Equals(object obj)
{
}
Parameters
obj
object
Bu nesne.
Returns
Bu sistem boolean.
Eşitlikler (NoteCheckBox)
Belirlenen nesnenin mevcut nesneye eşit olup olmadığını belirler.
public bool Equals(NoteCheckBox other)
{
return (other != null) && (this._controlId == other._controlId);
}
Parameters
other
NoteCheckBox
Bu nesne.
Returns
Bu sistem boolean.
GetHashCode () için yorumlar
Tip için bir hash fonksiyonu olarak hizmet eder.
public override int GetHashCode()
{
}
Returns
Sistem.Int32 ile ilgili bilgiler.