Inhaltsverzeichnis
API: Specialized Controls
API-referenca za specijalizirane komponente.
TWvdSScheduler
Kalendar i planiranje termina.
Namespace
WvdS.UI.Controls.Specialized
PXAML
<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>
Properties
| Property | Tip | Default | Opis |
| DataSource | IEnumerable | nil | Podaci o terminima |
|---|---|---|---|
| StartProperty | string | 'Start' | Polje za početak |
| EndProperty | string | 'End' | Polje za kraj |
| SubjectProperty | string | 'Subject' | Polje za predmet |
| CurrentDate | TDateTime | Today | Aktivni datum |
| ViewType | TSchedulerViewType | svDay | Day, Week, Month, Timeline |
| Resources | TResourceCollection | nil | Resursi |
| FirstDayOfWeek | TDayOfWeek | dwMonday | Početak tjedna |
| WorkTimeStart | TTime | 08:00 | Početak radnog vremena |
| WorkTimeEnd | TTime | 18:00 | Kraj radnog vremena |
Events
| Event | Signatura | Opis |
| OnAppointmentClick | TAppointmentEvent | Termin kliknut |
|---|---|---|
| OnAppointmentEditing | TAppointmentEditEvent | Termin se uređuje |
| OnDateChanged | TDateChangedEvent | Datum promijenjen |
TWvdSRichEditControl
Procesor teksta-kontrola.
Namespace
WvdS.UI.Controls.Specialized
PXAML
<RichEditControl Document="{Binding DocumentContent}" DocumentFormat="OpenXml" ShowRuler="True" ShowStatusBar="True" />
Properties
| Property | Tip | Default | Opis |
| Document | TWvdSDocument | nil | Dokument |
|---|---|---|---|
| DocumentFormat | TDocumentFormat | dfRtf | Rtf, OpenXml, Html, PlainText |
| ShowRuler | Boolean | True | Prikaži ravnalo |
| ShowStatusBar | Boolean | True | Statusna traka |
| ReadOnly | Boolean | False | Samo za čitanje |
| SpellCheckEnabled | Boolean | True | Provjera pravopisa |
Metode
| Metoda | Opis |
| LoadDocument(path) | Učitaj dokument |
|---|---|
| SaveDocument(path, format) | Spremi dokument |
| Ispiši | |
| ExportToPdf(path) | Izvezi kao PDF |
TWvdSSpreadsheetControl
Tablični kalkulator.
Namespace
WvdS.UI.Controls.Specialized
PXAML
<SpreadsheetControl Document="{Binding Workbook}" ActiveSheet="{Binding CurrentSheet}" ShowFormulaBar="True" />
Properties
| Property | Tip | Default | Opis |
| Document | TWvdSWorkbook | nil | Radna knjiga |
|---|---|---|---|
| ActiveSheet | TWvdSWorksheet | nil | Aktivni list |
| ShowFormulaBar | Boolean | True | Traka formula |
| ShowSheetTabs | Boolean | True | Tabovi listova |
| ReadOnly | Boolean | False | Samo za čitanje |
Metode
| Metoda | Opis |
| LoadDocument(path) | Učitaj Excel-datoteku |
|---|---|
| SaveDocument(path) | Spremi |
| ExportToPdf(path) | Kao PDF |
| Calculate | Izračunaj formule |
TWvdSMapControl
Prikaz karte.
Namespace
WvdS.UI.Controls.Specialized
PXAML
<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>
Properties
| Property | Tip | Default | Opis |
| CenterPoint | TGeoPoint | (0,0) | Središte karte |
|---|---|---|---|
| ZoomLevel | Double | 10 | Razina zuma |
| MapProvider | TMapProvider | mpOpenStreetMap | OpenStreetMap, Bing, itd. |
| Layers | TMapLayerCollection | nil | Slojevi karte |
| ShowMiniMap | Boolean | False | Minikarta |
| ShowScale | Boolean | True | Mjerilo |
TWvdSDiagramControl
Dijagram-editor.
Namespace
WvdS.UI.Controls.Specialized
PXAML
<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>
Properties
| Property | Tip | Default | Opis |
| Document | TDiagramDocument | nil | Dijagram |
|---|---|---|---|
| Shapes | TDiagramShapeCollection | nil | Oblici |
| Connectors | TConnectorCollection | nil | Veze |
| ShowGrid | Boolean | True | Prikaži rešetku |
| SnapToGrid | Boolean | True | Hvataj za rešetku |
TWvdSPdfViewer
PDF-prikaz.
Namespace
WvdS.UI.Controls.Specialized
PXAML
<PdfViewer DocumentSource="{Binding PdfPath}" CurrentPage="{Binding CurrentPage}" ZoomMode="FitWidth" />
Properties
| Property | Tip | Default | Opis |
| DocumentSource | string | | PDF-putanja ili Stream |
^ CurrentPage | Integer | 1 | Trenutna stranica |
^ PageCount | Integer | 0 | Broj stranica (samo čitanje) |
^ ZoomLevel | Double | 100 | Zum u % |
^ ZoomMode | TZoomMode | zmActualSize | ActualSize, FitWidth, FitPage |
^ ShowToolbar | Boolean | True | Toolbar |
^ ShowThumbnails | Boolean | False | Pregled stranica |
==== Metode ====
| Metoda | Opis |
^ Print | Ispiši |
^ GoToPage(n) | Idi na stranicu |
^ Search(text) | Traži tekst |
—-
===== TWvdSImageGallery =====
Galerija slika.
==== Namespace ====
WvdS.UI.Controls.Specialized
==== PXAML ====
<code xml>
<ImageGallery ItemsSource=„{Binding Images}“
ImageMember=„Url“
ThumbnailMember=„Thumbnail“
CaptionMember=„Title“
ViewMode=„Thumbnails“ />
</code>
==== Properties ====
| Property | Tip | Default | Opis |
^ ItemsSource | IEnumerable | nil | Podaci o slikama |
^ ImageMember | string | | Polje URL-a slike |
|---|---|---|---|
| ThumbnailMember | string | | Polje thumbnailа |
^ CaptionMember | string | | Polje naslova |
| SelectedImage | TObject | nil | Odabrana slika |
| ViewMode | TGalleryViewMode | gvThumbnails | Thumbnails, Slideshow |
| ThumbnailSize | Integer | 100 | Veličina thumbnailа |
TWvdSSpellChecker
Provjera pravopisa.
Namespace
WvdS.UI.Controls.Specialized
Sintaksa
SpellChecker := TWvdSSpellChecker.Create; SpellChecker.Dictionary := 'de-DE'; SpellChecker.CheckControl(MemoEdit);
Properties
| Property | Tip | Default | Opis |
| Dictionary | string | 'en-US' | Rječnik |
|---|---|---|---|
| CustomDictionary | TStrings | nil | Vlastite riječi |
| IgnoreUppercase | Boolean | True | Ignoriraj velika slova |
| IgnoreNumbers | Boolean | True | Ignoriraj brojeve |
Metode
| Metoda | Opis |
| Check(text) | Provjeri tekst |
|---|---|
| GetSuggestions(word) | Dohvati prijedloge |
| AddToCustom(word) | Dodaj u rječnik |
TWvdSFilterControl
Filter-Builder za podatke.
Namespace
WvdS.UI.Controls.Specialized
PXAML
<FilterControl DataSource="{Binding DataGrid.DataSource}" FilterExpression="{Binding Filter, Mode=TwoWay}" />
Properties
| Property | Tip | Default | Opis |
| DataSource | IEnumerable | nil | Izvor podataka |
|---|---|---|---|
| FilterExpression | string | | Izraz filtra |
^ AvailableFields | TStringList | nil | Dostupna polja |
—-
===== TWvdSExpressionEditor =====
Editor formula.
==== Namespace ====
WvdS.UI.Controls.Specialized
==== PXAML ====
<code xml>
<ExpressionEditor Expression=„{Binding Formula}“
DataSource=„{Binding AvailableFields}“
ShowFunctions=„True“ />
</code>
==== Properties ====
| Property | Tip | Default | Opis |
^ Expression | string | | Formula |
| DataSource | IEnumerable | nil | Dostupna polja |
| ShowFunctions | Boolean | True | Panel funkcija |
| ValidatedExpression | string | | Provjerena formula |
—-
===== TWvdSPropertyGridControl =====
Property-Grid za uređivanje objekata.
==== Namespace ====
WvdS.UI.Controls.Specialized
==== PXAML ====
<code xml>
<PropertyGridControl SelectedObject=„{Binding SelectedItem}“
ShowCategories=„True“
SortMode=„Categorized“ />
</code>
==== Properties ====
| Property | Tip | Default | Opis |
^ SelectedObject | TObject | nil | Objekt za uređivanje |
^ SelectedObjects | TObjectList | nil | Više objekata |
^ ShowCategories | Boolean | True | Prikaži kategorije |
^ SortMode | TSortMode | smCategorized | Alphabetical, Categorized |
—-
===== TWvdSSearchControl =====
Polje za pretraživanje.
==== Namespace ====
WvdS.UI.Controls.Specialized
==== PXAML ====
<code xml>
<SearchControl SearchText=„{Binding Query}“
Placeholder=„Search…“
ShowClearButton=„True“
SearchMode=„Instant“ />
</code>
==== Properties ====
| Property | Tip | Default | Opis |
^ SearchText | string | | Tekst pretrage |
| Placeholder | string | | Placeholder |
^ SearchMode | TSearchMode | smInstant | Instant, OnEnter |
^ MinSearchLength | Integer | 1 | Min. znakova |
==== Events ====
| Event | Signatura | Opis |
^ OnSearch | TSearchEvent | Pretraga pokrenuta |
—-
===== TWvdSRangeControl =====
Odabir raspona za vremenske serije.
==== 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 | Tip | Default | Opis |
^ DataSource | IEnumerable | nil | Izvor podataka |
^ SelectionStart | TDateTime | 0 | Početak raspona |
^ SelectionEnd | TDateTime | 0 | Kraj raspona |
—-
===== TWvdSZoomTrackBar =====
Zoom-klizač.
==== Namespace ====
WvdS.UI.Controls.Specialized
==== PXAML ====
<code xml>
<ZoomTrackBar Value=„{Binding ZoomLevel}“
Minimum=„25“ Maximum=„400“
DefaultValue=„100“
ShowButtons=„True“ />
</code>
==== Properties ====
| Property | Tip | Default | Opis |
^ Value | Integer | 100 | Zum u % |
^ Minimum | Integer | 25 | Minimum |
^ Maximum | Integer | 400 | Maksimum |
^ DefaultValue | Integer | 100 | Default (dvostruki klik) |
^ ShowButtons | Boolean | True | +/- gumbi |
—-
===== TWvdSMarkupEdit =====
Markup/Markdown-editor.
==== Namespace ====
WvdS.UI.Controls.Specialized
==== PXAML ====
<code xml>
<MarkupEdit Text=„{Binding MarkdownContent}“
MarkupType=„Markdown“
ShowPreview=„True“
PreviewPosition=„Right“ />
</code>
==== Properties ====
| Property | Tip | Default | Opis |
^ Text | string | | Markup-tekst |
| MarkupType | TMarkupType | mtMarkdown | Markdown, Html, BBCode |
| ShowPreview | Boolean | True | Prikaži pregled |
| PreviewPosition | TPosition | pRight | Right, Bottom |
Vidi također
Zuletzt geändert: 29.01.2026. u 22:41