Inhaltsverzeichnis
API: Specializirani kontrolniki
API-referenca za specializirane komponente.
TWvdSScheduler
Koledar in razporejanje terminov.
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>
Lastnosti
| Lastnost | Tip | Privzeto | Opis |
| DataSource | IEnumerable | nil | Podatki terminov |
|---|---|---|---|
| StartProperty | string | 'Start' | Polje zacetka |
| EndProperty | string | 'End' | Polje konca |
| SubjectProperty | string | 'Subject' | Polje zadeve |
| CurrentDate | TDateTime | Today | Aktivni datum |
| ViewType | TSchedulerViewType | svDay | Day, Week, Month, Timeline |
| Resources | TResourceCollection | nil | Viri |
| FirstDayOfWeek | TDayOfWeek | dwMonday | Zacetek tedna |
| WorkTimeStart | TTime | 08:00 | Zacetek delovnega casa |
| WorkTimeEnd | TTime | 18:00 | Konec delovnega casa |
Dogodki
| Dogodek | Podpis | Opis |
| OnAppointmentClick | TAppointmentEvent | Termin kliknjen |
|---|---|---|
| OnAppointmentEditing | TAppointmentEditEvent | Termin se ureja |
| OnDateChanged | TDateChangedEvent | Datum zamenjan |
TWvdSRichEditControl
Kontrolnik za obdelavo besedila.
Namespace
WvdS.UI.Controls.Specialized
PXAML
<RichEditControl Document="{Binding DocumentContent}" DocumentFormat="OpenXml" ShowRuler="True" ShowStatusBar="True" />
Lastnosti
| Lastnost | Tip | Privzeto | Opis |
| Document | TWvdSDocument | nil | Dokument |
|---|---|---|---|
| DocumentFormat | TDocumentFormat | dfRtf | Rtf, OpenXml, Html, PlainText |
| ShowRuler | Boolean | True | Prikazi ravnilo |
| ShowStatusBar | Boolean | True | Statusna vrstica |
| ReadOnly | Boolean | False | Samo za branje |
| SpellCheckEnabled | Boolean | True | Preverjanje crkovanja |
Metode
| Metoda | Opis |
| LoadDocument(path) | Nalozi dokument |
|---|---|
| SaveDocument(path, format) | Shrani dokument |
| Natisni | |
| ExportToPdf(path) | Izvozi kot PDF |
TWvdSSpreadsheetControl
Preglednica.
Namespace
WvdS.UI.Controls.Specialized
PXAML
<SpreadsheetControl Document="{Binding Workbook}" ActiveSheet="{Binding CurrentSheet}" ShowFormulaBar="True" />
Lastnosti
| Lastnost | Tip | Privzeto | Opis |
| Document | TWvdSWorkbook | nil | Delovni zvezek |
|---|---|---|---|
| ActiveSheet | TWvdSWorksheet | nil | Aktivni list |
| ShowFormulaBar | Boolean | True | Vrstica formul |
| ShowSheetTabs | Boolean | True | Zavihki listov |
| ReadOnly | Boolean | False | Samo za branje |
Metode
| Metoda | Opis |
| LoadDocument(path) | Nalozi Excel datoteko |
|---|---|
| SaveDocument(path) | Shrani |
| ExportToPdf(path) | Kot PDF |
| Calculate | Izracunaj formule |
TWvdSMapControl
Prikaz zemljevida.
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>
Lastnosti
| Lastnost | Tip | Privzeto | Opis |
| CenterPoint | TGeoPoint | (0,0) | Sredisce zemljevida |
|---|---|---|---|
| ZoomLevel | Double | 10 | Stopnja povecave |
| MapProvider | TMapProvider | mpOpenStreetMap | OpenStreetMap, Bing, itd. |
| Layers | TMapLayerCollection | nil | Plasti zemljevida |
| ShowMiniMap | Boolean | False | Mini zemljevid |
| ShowScale | Boolean | True | Merilo |
TWvdSDiagramControl
Urejevalnik diagramov.
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>
Lastnosti
| Lastnost | Tip | Privzeto | Opis |
| Document | TDiagramDocument | nil | Diagram |
|---|---|---|---|
| Shapes | TDiagramShapeCollection | nil | Oblike |
| Connectors | TConnectorCollection | nil | Povezave |
| ShowGrid | Boolean | True | Prikazi mrezo |
| SnapToGrid | Boolean | True | Poravnaj na mrezo |
TWvdSPdfViewer
Pregledovalnik PDF.
Namespace
WvdS.UI.Controls.Specialized
PXAML
<PdfViewer DocumentSource="{Binding PdfPath}" CurrentPage="{Binding CurrentPage}" ZoomMode="FitWidth" />
Lastnosti
| Lastnost | Tip | Privzeto | Opis |
| DocumentSource | string | | PDF pot ali tok |
^ CurrentPage | Integer | 1 | Trenutna stran |
^ PageCount | Integer | 0 | Stevilo strani (samo za branje) |
^ ZoomLevel | Double | 100 | Povecava v % |
^ ZoomMode | TZoomMode | zmActualSize | ActualSize, FitWidth, FitPage |
^ ShowToolbar | Boolean | True | Orodna vrstica |
^ ShowThumbnails | Boolean | False | Predogled strani |
==== Metode ====
| Metoda | Opis |
^ Print | Natisni |
^ GoToPage(n) | Pojdi na stran |
^ Search(text) | Isci besedilo |
—-
===== TWvdSImageGallery =====
Galerija slik.
==== Namespace ====
WvdS.UI.Controls.Specialized
==== PXAML ====
<code xml>
<ImageGallery ItemsSource=„{Binding Images}“
ImageMember=„Url“
ThumbnailMember=„Thumbnail“
CaptionMember=„Title“
ViewMode=„Thumbnails“ />
</code>
==== Lastnosti ====
| Lastnost | Tip | Privzeto | Opis |
^ ItemsSource | IEnumerable | nil | Podatki slik |
^ ImageMember | string | | Polje URL slike |
|---|---|---|---|
| ThumbnailMember | string | | Polje sličice |
^ CaptionMember | string | | Polje naslova |
| SelectedImage | TObject | nil | Izbrana slika |
| ViewMode | TGalleryViewMode | gvThumbnails | Thumbnails, Slideshow |
| ThumbnailSize | Integer | 100 | Velikost sličice |
TWvdSSpellChecker
Preverjanje crkovanja.
Namespace
WvdS.UI.Controls.Specialized
Sintaksa
SpellChecker := TWvdSSpellChecker.Create; SpellChecker.Dictionary := 'de-DE'; SpellChecker.CheckControl(MemoEdit);
Lastnosti
| Lastnost | Tip | Privzeto | Opis |
| Dictionary | string | 'en-US' | Slovar |
|---|---|---|---|
| CustomDictionary | TStrings | nil | Lastne besede |
| IgnoreUppercase | Boolean | True | Prezri velike crke |
| IgnoreNumbers | Boolean | True | Prezri stevilke |
Metode
| Metoda | Opis |
| Check(text) | Preveri besedilo |
|---|---|
| GetSuggestions(word) | Pridobi predloge |
| AddToCustom(word) | Dodaj v slovar |
TWvdSFilterControl
Graditelj filtrov za podatke.
Namespace
WvdS.UI.Controls.Specialized
PXAML
<FilterControl DataSource="{Binding DataGrid.DataSource}" FilterExpression="{Binding Filter, Mode=TwoWay}" />
Lastnosti
| Lastnost | Tip | Privzeto | Opis |
| DataSource | IEnumerable | nil | Vir podatkov |
|---|---|---|---|
| FilterExpression | string | | Izraz filtra |
^ AvailableFields | TStringList | nil | Razpolozljiva polja |
—-
===== TWvdSExpressionEditor =====
Urejevalnik formul.
==== Namespace ====
WvdS.UI.Controls.Specialized
==== PXAML ====
<code xml>
<ExpressionEditor Expression=„{Binding Formula}“
DataSource=„{Binding AvailableFields}“
ShowFunctions=„True“ />
</code>
==== Lastnosti ====
| Lastnost | Tip | Privzeto | Opis |
^ Expression | string | | Formula |
| DataSource | IEnumerable | nil | Razpolozljiva polja |
| ShowFunctions | Boolean | True | Plosca funkcij |
| ValidatedExpression | string | | Preverjena formula |
—-
===== TWvdSPropertyGridControl =====
Mreza lastnosti za urejanje objektov.
==== Namespace ====
WvdS.UI.Controls.Specialized
==== PXAML ====
<code xml>
<PropertyGridControl SelectedObject=„{Binding SelectedItem}“
ShowCategories=„True“
SortMode=„Categorized“ />
</code>
==== Lastnosti ====
| Lastnost | Tip | Privzeto | Opis |
^ SelectedObject | TObject | nil | Urejani objekt |
^ SelectedObjects | TObjectList | nil | Vec objektov |
^ ShowCategories | Boolean | True | Prikazi kategorije |
^ SortMode | TSortMode | smCategorized | Alphabetical, Categorized |
—-
===== TWvdSSearchControl =====
Iskalno vnosno polje.
==== Namespace ====
WvdS.UI.Controls.Specialized
==== PXAML ====
<code xml>
<SearchControl SearchText=„{Binding Query}“
Placeholder=„Search…“
ShowClearButton=„True“
SearchMode=„Instant“ />
</code>
==== Lastnosti ====
| Lastnost | Tip | Privzeto | Opis |
^ SearchText | string | | Iskalno besedilo |
| Placeholder | string | | Nadomestno besedilo |
^ SearchMode | TSearchMode | smInstant | Instant, OnEnter |
^ MinSearchLength | Integer | 1 | Min. znakov |
==== Dogodki ====
| Dogodek | Podpis | Opis |
^ OnSearch | TSearchEvent | Iskanje sprozeno |
—-
===== TWvdSRangeControl =====
Izbira obsega za casovne vrste.
==== Namespace ====
WvdS.UI.Controls.Specialized
==== PXAML ====
<code xml>
<RangeControl DataSource=„{Binding TimeData}“
ArgumentMember=„Date“
ValueMember=„Value“
SelectionStart=„{Binding RangeStart}“
SelectionEnd=„{Binding RangeEnd}“ />
</code>
==== Lastnosti ====
| Lastnost | Tip | Privzeto | Opis |
^ DataSource | IEnumerable | nil | Vir podatkov |
^ SelectionStart | TDateTime | 0 | Zacetek obsega |
^ SelectionEnd | TDateTime | 0 | Konec obsega |
—-
===== TWvdSZoomTrackBar =====
Drsnik za povecavo.
==== Namespace ====
WvdS.UI.Controls.Specialized
==== PXAML ====
<code xml>
<ZoomTrackBar Value=„{Binding ZoomLevel}“
Minimum=„25“ Maximum=„400“
DefaultValue=„100“
ShowButtons=„True“ />
</code>
==== Lastnosti ====
| Lastnost | Tip | Privzeto | Opis |
^ Value | Integer | 100 | Povecava v % |
^ Minimum | Integer | 25 | Minimum |
^ Maximum | Integer | 400 | Maksimum |
^ DefaultValue | Integer | 100 | Privzeto (dvojni klik) |
^ ShowButtons | Boolean | True | +/- gumbi |
—-
===== TWvdSMarkupEdit =====
Urejevalnik oznacevanja/Markdown.
==== Namespace ====
WvdS.UI.Controls.Specialized
==== PXAML ====
<code xml>
<MarkupEdit Text=„{Binding MarkdownContent}“
MarkupType=„Markdown“
ShowPreview=„True“
PreviewPosition=„Right“ />
</code>
==== Lastnosti ====
| Lastnost | Tip | Privzeto | Opis |
^ Text | string | | Besedilo oznacevanja |
| MarkupType | TMarkupType | mtMarkdown | Markdown, Html, BBCode |
| ShowPreview | Boolean | True | Prikazi predogled |
| PreviewPosition | TPosition | pRight | Right, Bottom |
Glejte tudi
Zuletzt geändert: dne 29.01.2026 ob 22:28