Riferimento API per componenti specializzati.
Calendario e pianificazione appuntamenti.
WvdS.UI.Controls.Specialized
<Scheduler DataSource="{Binding Appointments}" StartProperty="Start" EndProperty="End" SubjectProperty="Subject" CurrentDate="{Binding SelectedDate}" ViewType="Week"> <Scheduler.Resources> <SchedulerResource Id="1" Caption="Room A" Color="Blue" /> <SchedulerResource Id="2" Caption="Room B" Color="Green" /> </Scheduler.Resources> </Scheduler>
| 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 |
| Event | Firma | Descrizione |
| OnAppointmentClick | TAppointmentEvent | Appuntamento cliccato |
|---|---|---|
| OnAppointmentEditing | TAppointmentEditEvent | Appuntamento in modifica |
| OnDateChanged | TDateChangedEvent | Data cambiata |
Control word-processor.
WvdS.UI.Controls.Specialized
<RichEditControl Document="{Binding DocumentContent}" DocumentFormat="OpenXml" ShowRuler="True" ShowStatusBar="True" />
| 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 |
| Metodo | Descrizione |
| LoadDocument(path) | Carica documento |
|---|---|
| SaveDocument(path, format) | Salva documento |
| Stampa | |
| ExportToPdf(path) | Esporta come PDF |
Foglio di calcolo.
WvdS.UI.Controls.Specialized
<SpreadsheetControl Document="{Binding Workbook}" ActiveSheet="{Binding CurrentSheet}" ShowFormulaBar="True" />
| 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 |
| Metodo | Descrizione |
| LoadDocument(path) | Carica file Excel |
|---|---|
| SaveDocument(path) | Salva |
| ExportToPdf(path) | Come PDF |
| Calculate | Calcola formule |
Visualizzazione mappa.
WvdS.UI.Controls.Specialized
<MapControl CenterPoint="{Binding MapCenter}" ZoomLevel="{Binding Zoom}" MapProvider="OpenStreetMap"> <MapControl.Layers> <VectorLayer ItemsSource="{Binding Markers}"> <VectorLayer.ItemTemplate> <MapPushpin Location="{Binding Location}" Text="{Binding Name}" /> </VectorLayer.ItemTemplate> </VectorLayer> </MapControl.Layers> </MapControl>
| 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 |
Editor diagrammi.
WvdS.UI.Controls.Specialized
<DiagramControl Document="{Binding DiagramDocument}" Shapes="{Binding AvailableShapes}" Connectors="{Binding Connections}"> <DiagramControl.Toolbox> <DiagramToolbox> <ToolboxGroup Header="Basic Shapes"> <ToolboxShape ShapeType="Rectangle" /> <ToolboxShape ShapeType="Ellipse" /> <ToolboxShape ShapeType="Diamond" /> </ToolboxGroup> </DiagramToolbox> </DiagramControl.Toolbox> </DiagramControl>
| 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 |
Visualizzatore PDF.
WvdS.UI.Controls.Specialized
<PdfViewer DocumentSource="{Binding PdfPath}" CurrentPage="{Binding CurrentPage}" ZoomMode="FitWidth" />
| 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 ====
<code xml>
<ImageGallery ItemsSource=„{Binding Images}“
ImageMember=„Url“
ThumbnailMember=„Thumbnail“
CaptionMember=„Title“
ViewMode=„Thumbnails“ />
</code>
==== 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 |
Controllo ortografico.
WvdS.UI.Controls.Specialized
SpellChecker := TWvdSSpellChecker.Create; SpellChecker.Dictionary := 'it-IT'; SpellChecker.CheckControl(MemoEdit);
| Property | Tipo | Default | Descrizione |
| Dictionary | string | 'en-US' | Dizionario |
|---|---|---|---|
| CustomDictionary | TStrings | nil | Parole personalizzate |
| IgnoreUppercase | Boolean | True | Ignora maiuscole |
| IgnoreNumbers | Boolean | True | Ignora numeri |
| Metodo | Descrizione |
| Check(text) | Controlla testo |
|---|---|
| GetSuggestions(word) | Ottieni suggerimenti |
| AddToCustom(word) | Aggiungi al dizionario |
Costruttore filtri per dati.
WvdS.UI.Controls.Specialized
<FilterControl DataSource="{Binding DataGrid.DataSource}" FilterExpression="{Binding Filter, Mode=TwoWay}" />
| 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 ====
<code xml>
<ExpressionEditor Expression=„{Binding Formula}“
DataSource=„{Binding AvailableFields}“
ShowFunctions=„True“ />
</code>
==== 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 ====
<code xml>
<PropertyGridControl SelectedObject=„{Binding SelectedItem}“
ShowCategories=„True“
SortMode=„Categorized“ />
</code>
==== 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 ====
<code xml>
<SearchControl SearchText=„{Binding Query}“
Placeholder=„Search…“
ShowClearButton=„True“
SearchMode=„Instant“ />
</code>
==== 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 ====
<code xml>
<RangeControl DataSource=„{Binding TimeData}“
ArgumentMember=„Date“
ValueMember=„Value“
SelectionStart=„{Binding RangeStart}“
SelectionEnd=„{Binding RangeEnd}“ />
</code>
==== 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 ====
<code xml>
<ZoomTrackBar Value=„{Binding ZoomLevel}“
Minimum=„25“ Maximum=„400“
DefaultValue=„100“
ShowButtons=„True“ />
</code>
==== 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 ====
<code xml>
<MarkupEdit Text=„{Binding MarkdownContent}“
MarkupType=„Markdown“
ShowPreview=„True“
PreviewPosition=„Right“ />
</code>
==== 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 |