BCombo
Linea B-Arts Legacy: questa scheda descrive
BArtsFrameworkNet(.NET Framework 4.7.2). Non usare firme o namespace come se appartenessero alla linea Classic successiva o alBFrameworkmoderno .NET 10.
Identità
Assembly/progetto:
BArtsFrameworkNet.Target:
.NET Framework 4.7.2.Namespace CLR:
BArts.BWindows.BControls.Nome completo:
BArts.BWindows.BControls.BCombo.Tipo:
class.Ambito:
runtime/interfaccia pubblica.
Ruolo
Tipo pubblico dei controlli Windows Forms della linea Legacy B-Arts.
Dichiarazione
<ToolboxBitmap("C:\mbimage\16\Controlli\mbcombo.bmp"), _ DefaultEvent("SelectedIndexChanged"), DefaultProperty("SelectedIndex")> _ Public Class BCombo
Classe base dichiarata: System.Windows.Forms.UserControl.
Interfacce dichiarate: IBControl.
Tipi annidati pubblici
Costruttori
| Nome | Dichiarazione |
|---|---|
New |
Public Sub New() |
Proprietà
| Nome | Dichiarazione |
|---|---|
AutoAllinea |
<Description("Imposta l'allineamento automatico con tutti i controlli MB aventi lo stesso valore di IndexAlign")> _ Public Property AutoAllinea() As Boolean Implements IBControl.AutoAllinea |
AutoAlignMB |
<Description("Imposta l'allineamento automatico con tutti i controlli MB aventi lo stesso valore di IndexAlign")> _ Public Property AutoAlignMB() As Boolean Implements BInterface.IBControl.AutoAlignMB |
IndexAlign |
Public Property IndexAlign() As Byte Implements IBControl.IndexAlign |
LblWidth |
Public ReadOnly Property LblWidth() As Double Implements IBControl.LblWidth |
Left |
Public Shadows Property Left() As Double Implements IBControl.Left |
Spaziatura |
Public Property Spaziatura() As Double Implements IBControl.Spaziatura |
TextWidth |
Public Property TextWidth() As Double Implements IBControl.TextWidth |
AttivaColoreSelezione |
<Description("Imposta il colore di sfondo quando il controllo possiede il fuoco")> _ Public Property AttivaColoreSelezione() As Boolean |
BackColorLabel |
Public Property BackColorLabel() As Color |
BackColorText |
Public Property BackColorText() As Color |
BackColorSel |
Public Property BackColorSel() As Color |
ForeColorText |
Public Shadows Property ForeColorText() As Color |
ForeColorLabel |
Public Property ForeColorLabel() As Color |
ForeColorSel |
Public Property ForeColorSel() As Color |
FontText |
Public Property FontText() As System.Drawing.Font |
FontLabel |
Public Property FontLabel() As System.Drawing.Font |
FontSel |
Public Property FontSel() As System.Drawing.Font |
Enabled |
Public Shadows Property Enabled() As Boolean |
BorderStyleLabel |
Public Property BorderStyleLabel() As BorderStyle |
BorderStyleText |
Public Property BorderStyleText() As BorderStyle |
FlatStyle |
Public Property FlatStyle() As System.Windows.Forms.FlatStyle |
IntegralHeight |
<Description("Ottiene o imposta un valore che indica se l'item del controllo deve essere ridimensionato")> _ Public Property IntegralHeight() As Boolean |
ItemHeight |
<Description("Ottiene o imposta un valore che determina l'altezza dell'item")> _ Public Property ItemHeight() As Integer |
DropDownStyle |
Public Property DropDownStyle() As System.Windows.Forms.ComboBoxStyle |
DropDownWidth |
Public Property DropDownWidth() As Integer |
MaxDropDownItems |
Public Property MaxDropDownItems() As Integer |
DropDownAutoWidth |
Public Property DropDownAutoWidth() As Boolean |
Caption |
Public Property Caption() As String |
Text |
Public Shadows Property Text() As String |
Items |
<Browsable(False)> _ Public ReadOnly Property Items() As ComboBox.ObjectCollection |
Items |
Public Property Items(ByVal index As Integer) As BItem |
Elenco |
<Editor(GetType(UIEditors.MBEditorItems), GetType(UITypeEditor))> _ Public Property Elenco() As String |
Sorted |
Public Property Sorted() As Boolean |
SelectedIndex |
Public Property SelectedIndex() As Integer |
SelectedItem |
Public Shadows Property SelectedItem() As Object |
SelectedValue |
Public Property SelectedValue() As Object |
Invio |
<Description("Imposta l'avanzamento del fuoco al controllo successivo con la pressione del tasto INVIO")> _ Public Property Invio() As Boolean |
Connection |
<Browsable(False)> _ Public Property Connection() As BData.BConnection |
DataTable |
Public Property DataTable() As BDataTable |
NomeTabella |
<DefaultValue(""), Category("Data Binding"), Description("Nome della tabella o della query")> _ Public Property NomeTabella() As String |
CampoDescr |
<DefaultValue(""), Category("Data Binding"), Description("Campo descrizione")> _ Public Property CampoDescr() As String |
NomeCampoComposto |
<DefaultValue(""), Category("Data Binding"), Description("Campo Aggregazione Descrizione")> _ Public Property NomeCampoComposto() As String |
CampoKey |
<DefaultValue(""), Category("Data Binding"), Description("Campo key")> _ Public Property CampoKey() As String |
CampiOrdinati |
<DefaultValue(""), Category("Data Binding"), Description("Campi ordinamento")> _ Public Property CampiOrdinati() As String |
Filtro |
<DefaultValue(""), Category("Data Binding"), _ Description("Imposta la condizione della SELECT. USARE SINTASSI SQL SENZA STATEMANT WHERE")> _ Public Property Filtro() As String |
Stato |
Public ReadOnly Property Stato() As mbeStatoCombo |
Metodi
| Nome | Dichiarazione |
|---|---|
RedrawsControl |
Public Sub RedrawsControl() |
RedrawsControlOld |
Public Sub RedrawsControlOld() |
Add |
Public Sub Add(ByVal Item As String, Optional ByVal Key As String = "") |
Add |
Public Sub Add(ByVal item As BItem) |
Remove |
Public Sub Remove(ByVal Index As Integer) |
Clear |
Public Function Clear() As Boolean |
GetKey |
Public Function GetKey() As String |
GetKey |
Public Function GetKey(ByVal Index As Integer) As String |
GetBItem |
Public Function GetBItem() As BItem |
GetBItem |
Public Function GetBItem(ByVal Index As Integer) As BItem |
Init |
Public Function Init(Optional AddKey As String = "", Optional AddDescr As String = "") As Boolean |
Disconnect |
Public Function Disconnect() As Boolean |
Sorgenti verificati
Controls\BCombo\BCombo.vb
