====== API: Specialized Controls ======
Riferimento API per componenti specializzati.
===== TWvdSScheduler =====
Calendario e pianificazione appuntamenti.
==== Namespace ====
''WvdS.UI.Controls.Specialized''
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ DataSource | IEnumerable | nil | Dati appuntamenti |
^ StartProperty | string | 'Start' | Campo inizio |
^ EndProperty | string | 'End' | Campo fine |
^ SubjectProperty | string | 'Subject' | Campo oggetto |
^ CurrentDate | TDateTime | Today | Data attiva |
^ ViewType | TSchedulerViewType | svDay | Day, Week, Month, Timeline |
^ Resources | TResourceCollection | nil | Risorse |
^ FirstDayOfWeek | TDayOfWeek | dwMonday | Inizio settimana |
^ WorkTimeStart | TTime | 08:00 | Inizio orario lavoro |
^ WorkTimeEnd | TTime | 18:00 | Fine orario lavoro |
==== Events ====
| Event | Firma | Descrizione |
^ OnAppointmentClick | TAppointmentEvent | Appuntamento cliccato |
^ OnAppointmentEditing | TAppointmentEditEvent | Appuntamento in modifica |
^ OnDateChanged | TDateChangedEvent | Data cambiata |
----
===== TWvdSRichEditControl =====
Control word-processor.
==== Namespace ====
''WvdS.UI.Controls.Specialized''
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ Document | TWvdSDocument | nil | Documento |
^ DocumentFormat | TDocumentFormat | dfRtf | Rtf, OpenXml, Html, PlainText |
^ ShowRuler | Boolean | True | Mostra righello |
^ ShowStatusBar | Boolean | True | Barra di stato |
^ ReadOnly | Boolean | False | Sola lettura |
^ SpellCheckEnabled | Boolean | True | Controllo ortografico |
==== Metodi ====
| Metodo | Descrizione |
^ LoadDocument(path) | Carica documento |
^ SaveDocument(path, format) | Salva documento |
^ Print | Stampa |
^ ExportToPdf(path) | Esporta come PDF |
----
===== TWvdSSpreadsheetControl =====
Foglio di calcolo.
==== Namespace ====
''WvdS.UI.Controls.Specialized''
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ Document | TWvdSWorkbook | nil | Cartella di lavoro |
^ ActiveSheet | TWvdSWorksheet | nil | Foglio attivo |
^ ShowFormulaBar | Boolean | True | Barra formule |
^ ShowSheetTabs | Boolean | True | Tab fogli |
^ ReadOnly | Boolean | False | Sola lettura |
==== Metodi ====
| Metodo | Descrizione |
^ LoadDocument(path) | Carica file Excel |
^ SaveDocument(path) | Salva |
^ ExportToPdf(path) | Come PDF |
^ Calculate | Calcola formule |
----
===== TWvdSMapControl =====
Visualizzazione mappa.
==== Namespace ====
''WvdS.UI.Controls.Specialized''
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ CenterPoint | TGeoPoint | (0,0) | Centro mappa |
^ ZoomLevel | Double | 10 | Livello zoom |
^ MapProvider | TMapProvider | mpOpenStreetMap | OpenStreetMap, Bing, etc. |
^ Layers | TMapLayerCollection | nil | Livelli mappa |
^ ShowMiniMap | Boolean | False | Minimappa |
^ ShowScale | Boolean | True | Scala |
----
===== TWvdSDiagramControl =====
Editor diagrammi.
==== Namespace ====
''WvdS.UI.Controls.Specialized''
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ Document | TDiagramDocument | nil | Diagramma |
^ Shapes | TDiagramShapeCollection | nil | Forme |
^ Connectors | TConnectorCollection | nil | Connessioni |
^ ShowGrid | Boolean | True | Mostra griglia |
^ SnapToGrid | Boolean | True | Allinea alla griglia |
----
===== TWvdSPdfViewer =====
Visualizzatore PDF.
==== Namespace ====
''WvdS.UI.Controls.Specialized''
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ DocumentSource | string | '' | Percorso PDF o stream |
^ CurrentPage | Integer | 1 | Pagina corrente |
^ PageCount | Integer | 0 | Numero pagine (sola lettura) |
^ ZoomLevel | Double | 100 | Zoom in % |
^ ZoomMode | TZoomMode | zmActualSize | ActualSize, FitWidth, FitPage |
^ ShowToolbar | Boolean | True | Toolbar |
^ ShowThumbnails | Boolean | False | Anteprima pagine |
==== Metodi ====
| Metodo | Descrizione |
^ Print | Stampa |
^ GoToPage(n) | Vai a pagina |
^ Search(text) | Cerca testo |
----
===== TWvdSImageGallery =====
Galleria immagini.
==== Namespace ====
''WvdS.UI.Controls.Specialized''
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ ItemsSource | IEnumerable | nil | Dati immagini |
^ ImageMember | string | '' | Campo URL immagine |
^ ThumbnailMember | string | '' | Campo thumbnail |
^ CaptionMember | string | '' | Campo titolo |
^ SelectedImage | TObject | nil | Immagine selezionata |
^ ViewMode | TGalleryViewMode | gvThumbnails | Thumbnails, Slideshow |
^ ThumbnailSize | Integer | 100 | Dimensione thumbnail |
----
===== TWvdSSpellChecker =====
Controllo ortografico.
==== Namespace ====
''WvdS.UI.Controls.Specialized''
==== Sintassi ====
SpellChecker := TWvdSSpellChecker.Create;
SpellChecker.Dictionary := 'it-IT';
SpellChecker.CheckControl(MemoEdit);
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ Dictionary | string | 'en-US' | Dizionario |
^ CustomDictionary | TStrings | nil | Parole personalizzate |
^ IgnoreUppercase | Boolean | True | Ignora maiuscole |
^ IgnoreNumbers | Boolean | True | Ignora numeri |
==== Metodi ====
| Metodo | Descrizione |
^ Check(text) | Controlla testo |
^ GetSuggestions(word) | Ottieni suggerimenti |
^ AddToCustom(word) | Aggiungi al dizionario |
----
===== TWvdSFilterControl =====
Costruttore filtri per dati.
==== Namespace ====
''WvdS.UI.Controls.Specialized''
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ DataSource | IEnumerable | nil | Sorgente dati |
^ FilterExpression | string | '' | Espressione filtro |
^ AvailableFields | TStringList | nil | Campi disponibili |
----
===== TWvdSExpressionEditor =====
Editor formule.
==== Namespace ====
''WvdS.UI.Controls.Specialized''
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ Expression | string | '' | Formula |
^ DataSource | IEnumerable | nil | Campi disponibili |
^ ShowFunctions | Boolean | True | Pannello funzioni |
^ ValidatedExpression | string | '' | Formula validata |
----
===== TWvdSPropertyGridControl =====
Property-Grid per modifica oggetti.
==== Namespace ====
''WvdS.UI.Controls.Specialized''
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ SelectedObject | TObject | nil | Oggetto modificato |
^ SelectedObjects | TObjectList | nil | Oggetti multipli |
^ ShowCategories | Boolean | True | Mostra categorie |
^ SortMode | TSortMode | smCategorized | Alphabetical, Categorized |
----
===== TWvdSSearchControl =====
Campo input ricerca.
==== Namespace ====
''WvdS.UI.Controls.Specialized''
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ SearchText | string | '' | Testo ricerca |
^ Placeholder | string | '' | Segnaposto |
^ SearchMode | TSearchMode | smInstant | Instant, OnEnter |
^ MinSearchLength | Integer | 1 | Min. caratteri |
==== Events ====
| Event | Firma | Descrizione |
^ OnSearch | TSearchEvent | Ricerca attivata |
----
===== TWvdSRangeControl =====
Selezione intervallo per serie temporali.
==== Namespace ====
''WvdS.UI.Controls.Specialized''
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ DataSource | IEnumerable | nil | Sorgente dati |
^ SelectionStart | TDateTime | 0 | Inizio intervallo |
^ SelectionEnd | TDateTime | 0 | Fine intervallo |
----
===== TWvdSZoomTrackBar =====
Slider zoom.
==== Namespace ====
''WvdS.UI.Controls.Specialized''
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ Value | Integer | 100 | Zoom in % |
^ Minimum | Integer | 25 | Minimo |
^ Maximum | Integer | 400 | Massimo |
^ DefaultValue | Integer | 100 | Default (doppio click) |
^ ShowButtons | Boolean | True | Pulsanti +/- |
----
===== TWvdSMarkupEdit =====
Editor markup/markdown.
==== Namespace ====
''WvdS.UI.Controls.Specialized''
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ Text | string | '' | Testo markup |
^ MarkupType | TMarkupType | mtMarkdown | Markdown, Html, BBCode |
^ ShowPreview | Boolean | True | Mostra anteprima |
^ PreviewPosition | TPosition | pRight | Right, Bottom |
----
===== Vedi anche =====
* [[.:control-bibliothek|Libreria Control]]
* [[.:api-controls-data|API Data Controls]]
* [[.:api-controls-editors|API Editor Controls]]