Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SiliconStudio.Presentation.Controls.PropertyView Class Reference
Inheritance diagram for SiliconStudio.Presentation.Controls.PropertyView:
ItemsControl

Static Public Attributes

static readonly
DependencyPropertyKey 
HoveredItemPropertyKey = DependencyProperty.RegisterReadOnly("HoveredItem", typeof(PropertyViewItem), typeof(PropertyView), new PropertyMetadata(null))
 Identifies the HoveredItem dependency property. More...
 
static readonly RoutedEvent PrepareItemEvent = EventManager.RegisterRoutedEvent("PrepareItem", RoutingStrategy.Bubble, typeof(EventHandler<PropertyViewItemEventArgs>), typeof(PropertyView))
 Identifies the PreparePropertyItem event. This attached routed event may be raised by the PropertyGrid itself or by a PropertyItemBase containing sub-items. More...
 
static readonly RoutedEvent ClearItemEvent = EventManager.RegisterRoutedEvent("ClearItem", RoutingStrategy.Bubble, typeof(EventHandler<PropertyViewItemEventArgs>), typeof(PropertyView))
 Identifies the ClearPropertyItem event. This attached routed event may be raised by the PropertyGrid itself or by a PropertyItemBase containing sub items. More...
 

Protected Member Functions

override void OnMouseLeave (MouseEventArgs e)
 
override DependencyObject GetContainerForItemOverride ()
 
override bool IsItemItsOwnContainerOverride (object item)
 
override void PrepareContainerForItemOverride (DependencyObject element, object item)
 
override void ClearContainerForItemOverride (DependencyObject element, object item)
 

Properties

IReadOnlyCollection
< PropertyViewItem
Properties [get]
 
PropertyViewItem HoveredItem [get, set]
 Gets the trimmed text to display when the control does not have the focus, depending of the value of the TextTrimming property. More...
 
EventHandler
< PropertyViewItemEventArgs
PrepareItem
 This event is raised when a property item is about to be displayed in the PropertyGrid. This allow the user to customize the property item just before it is displayed. More...
 
EventHandler
< PropertyViewItemEventArgs
ClearItem
 This event is raised when an property item is about to be remove from the display in the PropertyGrid This allow the user to remove any attached handler in the PreparePropertyItem event. More...
 

Detailed Description

Definition at line 14 of file PropertyView.cs.

Member Function Documentation

override void SiliconStudio.Presentation.Controls.PropertyView.ClearContainerForItemOverride ( DependencyObject  element,
object  item 
)
protected

Definition at line 93 of file PropertyView.cs.

override DependencyObject SiliconStudio.Presentation.Controls.PropertyView.GetContainerForItemOverride ( )
protected

Definition at line 75 of file PropertyView.cs.

override bool SiliconStudio.Presentation.Controls.PropertyView.IsItemItsOwnContainerOverride ( object  item)
protected

Definition at line 80 of file PropertyView.cs.

override void SiliconStudio.Presentation.Controls.PropertyView.OnMouseLeave ( MouseEventArgs  e)
protected

Definition at line 69 of file PropertyView.cs.

override void SiliconStudio.Presentation.Controls.PropertyView.PrepareContainerForItemOverride ( DependencyObject  element,
object  item 
)
protected

Definition at line 85 of file PropertyView.cs.

Member Data Documentation

readonly RoutedEvent SiliconStudio.Presentation.Controls.PropertyView.ClearItemEvent = EventManager.RegisterRoutedEvent("ClearItem", RoutingStrategy.Bubble, typeof(EventHandler<PropertyViewItemEventArgs>), typeof(PropertyView))
static

Identifies the ClearPropertyItem event. This attached routed event may be raised by the PropertyGrid itself or by a PropertyItemBase containing sub items.

Definition at line 34 of file PropertyView.cs.

Referenced by SiliconStudio.Presentation.Controls.PropertyViewItem.ClearContainerForItemOverride().

readonly DependencyPropertyKey SiliconStudio.Presentation.Controls.PropertyView.HoveredItemPropertyKey = DependencyProperty.RegisterReadOnly("HoveredItem", typeof(PropertyViewItem), typeof(PropertyView), new PropertyMetadata(null))
static

Identifies the HoveredItem dependency property.

Definition at line 21 of file PropertyView.cs.

readonly RoutedEvent SiliconStudio.Presentation.Controls.PropertyView.PrepareItemEvent = EventManager.RegisterRoutedEvent("PrepareItem", RoutingStrategy.Bubble, typeof(EventHandler<PropertyViewItemEventArgs>), typeof(PropertyView))
static

Identifies the PreparePropertyItem event. This attached routed event may be raised by the PropertyGrid itself or by a PropertyItemBase containing sub-items.

Definition at line 27 of file PropertyView.cs.

Referenced by SiliconStudio.Presentation.Controls.PropertyViewItem.PrepareContainerForItemOverride().

Property Documentation

EventHandler<PropertyViewItemEventArgs> SiliconStudio.Presentation.Controls.PropertyView.ClearItem
addremove

This event is raised when an property item is about to be remove from the display in the PropertyGrid This allow the user to remove any attached handler in the PreparePropertyItem event.

Definition at line 58 of file PropertyView.cs.

PropertyViewItem SiliconStudio.Presentation.Controls.PropertyView.HoveredItem
getset

Gets the trimmed text to display when the control does not have the focus, depending of the value of the TextTrimming property.

Definition at line 46 of file PropertyView.cs.

EventHandler<PropertyViewItemEventArgs> SiliconStudio.Presentation.Controls.PropertyView.PrepareItem
addremove

This event is raised when a property item is about to be displayed in the PropertyGrid. This allow the user to customize the property item just before it is displayed.

Definition at line 52 of file PropertyView.cs.

IReadOnlyCollection<PropertyViewItem> SiliconStudio.Presentation.Controls.PropertyView.Properties
get

Definition at line 41 of file PropertyView.cs.


The documentation for this class was generated from the following file: