Gets or sets the minimum height constraint of the element. Gets or sets the maximum width constraint of the element. Gets or sets the maximum height constraint of the element. Gets or sets the outer margin of an element. Gets or sets a graphics transformation that should apply to this element when layout is performed The input scope, which modifies how input from alternative input methods is interpreted Gets or sets the context for input used by this element. Gets or sets the horizontal alignment characteristics applied to this element when it is composed within a parent element, such as a panel or items control Gets or sets the suggested height of the element. Gets or sets a value that indicates whether this FrameworkElement should force the UI to render the cursor as declared by this element's Cursor property. Gets or sets a property that enables customization of appearance, effects, or other style characteristics that will apply to this element when it captures keyboard focus Gets or sets the direction that text and other UI elements flow within any parent element that controls their layout Gets or sets the key to use to reference the style for this control, when theme styles are used or defined Gets or sets the data context for an element when it participates in data binding Gets or sets the cursor that displays when the mouse pointer is over this element. Gets or sets the context menu element that should appear whenever the context menu is requested through user interface (UI) from within this element. Gets or sets a value indicating how the element's contents are mixed with the background Gets the rendered height of this element. Gets or sets the VerticalAlignment of a control's content Gets or sets ControlTemplate for this element Gets or sets a value that determines the order in which elements receive focus when the user navigates through controls by using the TAB key. Gets or sets the padding inside a control Gets or sets a value that indicates whether a control is included in tab navigation. Get or sets a value that indicates whether focus can be constrained within the control boundaries (for game pad / remote interaction) Get or sets a value that indicates whether focus is constrained within the control boundaries (for game pad/remote interaction) Gets or sets the HorizontalAlignment of a control's content Gets or sets a Brush that describes the foreground color Gets or sets the FontWeight or thickness of the specified font Gets or sets the FontFamily of the control Gets or sets the border Thickness of a control Gets or sets a Brush that describes the border of a control This avoids the overhead of providing styles for another control, and makes it easy to "opt in" to this behaviour in your application.Gets or sets a Brush that describes the background of a control Rather than deriving from TextBox and adding another class to this library, this behaviour is implemented as an Attached Property. Like the watermark, a simple attached property adds in the functionality The three states are unfocused (with no user text provided), focused, and unfocused (with user text provided). Will produce a textbox that looks like the below image. This is often an alternative to providing a label next to your textbox - for example, a search box would have a watermark with the text 'enter search terms' to indicate it's purpose. WatermarkĪ watermark - in the context of textboxes - refers to text that appears in the textbox before the user has focused or entered any text. There is just the one style in this library for TextBox, however it does have a special attached property for creating 'watermarked' textboxes and for added a 'clear' button.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |