====== API: Specialized Controls ======
API-referenca za specijalizirane komponente.
===== TWvdSScheduler =====
Kalendar i planiranje termina.
==== Namespace ====
''WvdS.UI.Controls.Specialized''
==== PXAML ====
==== 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 ====
==== 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 |
^ Print | Ispiši |
^ ExportToPdf(path) | Izvezi kao PDF |
----
===== TWvdSSpreadsheetControl =====
Tablični kalkulator.
==== Namespace ====
''WvdS.UI.Controls.Specialized''
==== PXAML ====
==== 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 ====
==== 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 ====
==== 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 ====
==== 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 ====
==== 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 ====
==== 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 ====
==== 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 ====
==== 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 ====
==== 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 ====
==== 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 ====
==== 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 ====
==== 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 =====
* [[.:control-bibliothek|Biblioteka kontrola]]
* [[.:api-controls-data|Data Controls API]]
* [[.:api-controls-editors|Editor Controls API]]