public class TreeViewItem extends HeaderedItemsControl
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Controls.TreeViewItem
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationFramework
|
static java.lang.String |
className
Qualified class name: System.Windows.Controls.TreeViewItem
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
TreeViewItem()
Initializes a new instance by invoking the .NET constructor.
|
TreeViewItem(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addCollapsed(RoutedEventHandler handler)
Invokes the .NET member addCollapsed.
|
void |
addExpanded(RoutedEventHandler handler)
Invokes the .NET member addExpanded.
|
void |
addSelected(RoutedEventHandler handler)
Invokes the .NET member addSelected.
|
void |
addUnselected(RoutedEventHandler handler)
Invokes the .NET member addUnselected.
|
static TreeViewItem |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TreeViewItem, a cast assert is made to check if types are compatible. |
void |
ExpandSubtree()
Invokes the .NET member ExpandSubtree.
|
boolean |
getIsExpanded()
Gets the value of the .NET property IsExpanded.
|
boolean |
getIsSelected()
Gets the value of the .NET property IsSelected.
|
boolean |
getIsSelectionActive()
Gets the value of the .NET property IsSelectionActive.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
void |
removeCollapsed(RoutedEventHandler handler)
Invokes the .NET member removeCollapsed.
|
void |
removeExpanded(RoutedEventHandler handler)
Invokes the .NET member removeExpanded.
|
void |
removeSelected(RoutedEventHandler handler)
Invokes the .NET member removeSelected.
|
void |
removeUnselected(RoutedEventHandler handler)
Invokes the .NET member removeUnselected.
|
void |
setIsExpanded(boolean IsExpanded)
Sets the value of the .NET property IsExpanded.
|
void |
setIsSelected(boolean IsSelected)
Sets the value of the .NET property IsSelected.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
getHasHeader, getHeader, getHeaderStringFormat, getHeaderTemplate, getHeaderTemplateSelector, setHeader, setHeaderStringFormat, setHeaderTemplate, setHeaderTemplateSelectorBeginInit, ContainerFromElement, ContainerFromElement, EndInit, getAlternationCount, GetAlternationIndex, getDisplayMemberPath, getGroupStyle, getGroupStyleSelector, getHasItems, getIsGrouping, getIsTextSearchCaseSensitive, getIsTextSearchEnabled, getItemBindingGroup, getItemContainerGenerator, getItemContainerStyle, getItemContainerStyleSelector, getItems, GetItemsOwner, getItemsPanel, getItemsSource, getItemStringFormat, getItemTemplate, getItemTemplateSelector, IsItemItsOwnContainer, ItemsControlFromItemContainer, setAlternationCount, setDisplayMemberPath, setGroupStyleSelector, setIsTextSearchCaseSensitive, setIsTextSearchEnabled, setItemBindingGroup, setItemContainerStyle, setItemContainerStyleSelector, setItemsPanel, setItemsSource, setItemStringFormat, setItemTemplate, setItemTemplateSelector, ShouldSerializeGroupStyle, ShouldSerializeItemsaddMouseDoubleClick, addPreviewMouseDoubleClick, getBackground, getBorderBrush, getBorderThickness, getFontFamily, getFontSize, getFontStretch, getFontStyle, getFontWeight, getForeground, getHorizontalContentAlignment, getIsTabStop, getPadding, getTabIndex, getTemplate, getVerticalContentAlignment, removeMouseDoubleClick, removePreviewMouseDoubleClick, setBackground, setBorderBrush, setBorderThickness, setFontFamily, setFontSize, setFontStretch, setFontStyle, setFontWeight, setForeground, setHorizontalContentAlignment, setIsTabStop, setPadding, setTabIndex, setTemplate, setVerticalContentAlignmentaddContextMenuClosing, addContextMenuOpening, addDataContextChanged, addInitialized, addLoaded, addRequestBringIntoView, addSizeChanged, addToolTipClosing, addToolTipOpening, addUnloaded, ApplyTemplate, BeginStoryboard, BeginStoryboard, BeginStoryboard, BringIntoView, BringIntoView, FindName, FindResource, getActualHeight, getActualWidth, GetBindingExpression, getBindingGroup, getContextMenu, getCursor, getDataContext, getFlowDirection, GetFlowDirection, getFocusVisualStyle, getForceCursor, getHeight, getHorizontalAlignment, getInputScope, getIsInitialized, getIsLoaded, getLanguage, getLayoutTransform, getMargin, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getName, getOverridesDefaultStyle, getParent, getResources, getStyle, getTag, getTemplatedParent, getToolTip, getTriggers, getUseLayoutRounding, getVerticalAlignment, getWidth, MoveFocus, OnApplyTemplate, PredictFocus, RegisterName, removeContextMenuClosing, removeContextMenuOpening, removeDataContextChanged, removeInitialized, removeLoaded, removeRequestBringIntoView, removeSizeChanged, removeToolTipClosing, removeToolTipOpening, removeUnloaded, SetBinding, SetBinding, setBindingGroup, setContextMenu, setCursor, setDataContext, SetFlowDirection, setFlowDirection, setFocusVisualStyle, setForceCursor, setHeight, setHorizontalAlignment, setInputScope, setLanguage, setLayoutTransform, setMargin, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setName, setOverridesDefaultStyle, SetResourceReference, setResources, setStyle, setTag, setToolTip, setUseLayoutRounding, setVerticalAlignment, setWidth, ShouldSerializeResources, ShouldSerializeStyle, ShouldSerializeTriggers, TryFindResource, UnregisterName, UpdateDefaultStyleaddDragEnter, addDragLeave, addDragOver, addDrop, addFocusableChanged, addGiveFeedback, addGotFocus, addGotKeyboardFocus, addGotMouseCapture, addGotStylusCapture, addIsEnabledChanged, addIsHitTestVisibleChanged, addIsKeyboardFocusedChanged, addIsKeyboardFocusWithinChanged, addIsMouseCapturedChanged, addIsMouseCaptureWithinChanged, addIsMouseDirectlyOverChanged, addIsStylusCapturedChanged, addIsStylusCaptureWithinChanged, addIsStylusDirectlyOverChanged, addIsVisibleChanged, addKeyDown, addKeyUp, addLayoutUpdated, addLostFocus, addLostKeyboardFocus, addLostMouseCapture, addLostStylusCapture, addMouseDown, addMouseEnter, addMouseLeave, addMouseLeftButtonDown, addMouseLeftButtonUp, addMouseMove, addMouseRightButtonDown, addMouseRightButtonUp, addMouseUp, addMouseWheel, addPreviewDragEnter, addPreviewDragLeave, addPreviewDragOver, addPreviewDrop, addPreviewGiveFeedback, addPreviewGotKeyboardFocus, addPreviewKeyDown, addPreviewKeyUp, addPreviewLostKeyboardFocus, addPreviewMouseDown, addPreviewMouseLeftButtonDown, addPreviewMouseLeftButtonUp, addPreviewMouseMove, addPreviewMouseRightButtonDown, addPreviewMouseRightButtonUp, addPreviewMouseUp, addPreviewMouseWheel, addPreviewQueryContinueDrag, addPreviewStylusButtonDown, addPreviewStylusButtonUp, addPreviewStylusDown, addPreviewStylusInAirMove, addPreviewStylusInRange, addPreviewStylusMove, addPreviewStylusOutOfRange, addPreviewStylusSystemGesture, addPreviewStylusUp, addPreviewTextInput, addQueryContinueDrag, addQueryCursor, addStylusButtonDown, addStylusButtonUp, addStylusDown, addStylusEnter, addStylusInAirMove, addStylusInRange, addStylusLeave, addStylusMove, addStylusOutOfRange, addStylusSystemGesture, addStylusUp, addTextInput, AddToEventRoute, ApplyAnimationClock, ApplyAnimationClock, Arrange, BeginAnimation, BeginAnimation, CaptureMouse, CaptureStylus, CaptureTouch, Focus, getAllowDrop, GetAnimationBaseValue, getAreAnyTouchesCaptured, getAreAnyTouchesCapturedWithin, getAreAnyTouchesDirectlyOver, getAreAnyTouchesOver, getBitmapEffect, getBitmapEffectInput, getCacheMode, getClip, getClipToBounds, getCommandBindings, getDesiredSize, getEffect, getFocusable, getHasAnimatedProperties, getInputBindings, getIsArrangeValid, getIsEnabled, getIsFocused, getIsHitTestVisible, getIsInputMethodEnabled, getIsKeyboardFocused, getIsKeyboardFocusWithin, getIsManipulationEnabled, getIsMeasureValid, getIsMouseCaptured, getIsMouseCaptureWithin, getIsMouseDirectlyOver, getIsMouseOver, getIsStylusCaptured, getIsStylusCaptureWithin, getIsStylusDirectlyOver, getIsStylusOver, getIsVisible, getOpacity, getOpacityMask, getPersistId, getRenderSize, getRenderTransform, getRenderTransformOrigin, getSnapsToDevicePixels, getTouchesCaptured, getTouchesCapturedWithin, getTouchesDirectlyOver, getTouchesOver, getUid, getVisibility, InputHitTest, InvalidateArrange, InvalidateMeasure, InvalidateVisual, Measure, RaiseEvent, ReleaseAllTouchCaptures, ReleaseMouseCapture, ReleaseStylusCapture, ReleaseTouchCapture, removeDragEnter, removeDragLeave, removeDragOver, removeDrop, removeFocusableChanged, removeGiveFeedback, removeGotFocus, removeGotKeyboardFocus, removeGotMouseCapture, removeGotStylusCapture, removeIsEnabledChanged, removeIsHitTestVisibleChanged, removeIsKeyboardFocusedChanged, removeIsKeyboardFocusWithinChanged, removeIsMouseCapturedChanged, removeIsMouseCaptureWithinChanged, removeIsMouseDirectlyOverChanged, removeIsStylusCapturedChanged, removeIsStylusCaptureWithinChanged, removeIsStylusDirectlyOverChanged, removeIsVisibleChanged, removeKeyDown, removeKeyUp, removeLayoutUpdated, removeLostFocus, removeLostKeyboardFocus, removeLostMouseCapture, removeLostStylusCapture, removeMouseDown, removeMouseEnter, removeMouseLeave, removeMouseLeftButtonDown, removeMouseLeftButtonUp, removeMouseMove, removeMouseRightButtonDown, removeMouseRightButtonUp, removeMouseUp, removeMouseWheel, removePreviewDragEnter, removePreviewDragLeave, removePreviewDragOver, removePreviewDrop, removePreviewGiveFeedback, removePreviewGotKeyboardFocus, removePreviewKeyDown, removePreviewKeyUp, removePreviewLostKeyboardFocus, removePreviewMouseDown, removePreviewMouseLeftButtonDown, removePreviewMouseLeftButtonUp, removePreviewMouseMove, removePreviewMouseRightButtonDown, removePreviewMouseRightButtonUp, removePreviewMouseUp, removePreviewMouseWheel, removePreviewQueryContinueDrag, removePreviewStylusButtonDown, removePreviewStylusButtonUp, removePreviewStylusDown, removePreviewStylusInAirMove, removePreviewStylusInRange, removePreviewStylusMove, removePreviewStylusOutOfRange, removePreviewStylusSystemGesture, removePreviewStylusUp, removePreviewTextInput, removeQueryContinueDrag, removeQueryCursor, removeStylusButtonDown, removeStylusButtonUp, removeStylusDown, removeStylusEnter, removeStylusInAirMove, removeStylusInRange, removeStylusLeave, removeStylusMove, removeStylusOutOfRange, removeStylusSystemGesture, removeStylusUp, removeTextInput, setAllowDrop, setBitmapEffect, setBitmapEffectInput, setCacheMode, setClip, setClipToBounds, setEffect, setFocusable, setIsEnabled, setIsHitTestVisible, setIsManipulationEnabled, setOpacity, setOpacityMask, setRenderSize, setRenderTransform, setRenderTransformOrigin, setSnapsToDevicePixels, setUid, setVisibility, ShouldSerializeCommandBindings, ShouldSerializeInputBindings, TranslatePoint, UpdateLayoutFindCommonVisualAncestor, IsAncestorOf, IsDescendantOf, PointFromScreen, PointToScreen, TransformToAncestor, TransformToAncestor, TransformToDescendant, TransformToVisualClearValue, ClearValue, CoerceValue, getDependencyObjectType, getIsSealed, GetLocalValueEnumerator, GetValue, InvalidateProperty, ReadLocalValue, SetCurrentValue, SetValue, SetValueCheckAccess, getDispatcher, VerifyAccesspublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TreeViewItem()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
InvalidOperationException,
ArgumentNullException,
ArgumentException,
NotSupportedException,
PlatformNotSupportedException
java.lang.Throwable - if the .NET constructor failsArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic TreeViewItem(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic void addCollapsed(RoutedEventHandler handler) throws java.lang.Throwable
handler - the argument of type RoutedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addExpanded(RoutedEventHandler handler) throws java.lang.Throwable
handler - the argument of type RoutedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addSelected(RoutedEventHandler handler) throws java.lang.Throwable
handler - the argument of type RoutedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void addUnselected(RoutedEventHandler handler) throws java.lang.Throwable
handler - the argument of type RoutedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static TreeViewItem cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TreeViewItem, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTreeViewItem instancejava.lang.Throwable - in case of error during cast operationpublic void ExpandSubtree()
throws java.lang.Throwable,
InvalidOperationException,
ArgumentException,
NotSupportedException,
ArgumentOutOfRangeException,
ArgumentNullException,
PlatformNotSupportedException,
OutOfMemoryException,
InvalidCastException,
Win32Exception,
InvalidEnumArgumentException,
XamlException,
NotImplementedException,
MulticastNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRInvalidOperationException - if the .NET member raises itArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidCastException - if the .NET member raises itWin32Exception - if the .NET member raises itInvalidEnumArgumentException - if the .NET member raises itXamlException - if the .NET member raises itNotImplementedException - if the .NET member raises itMulticastNotSupportedException - if the .NET member raises itpublic boolean getIsExpanded()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
IndexOutOfRangeException,
FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic boolean getIsSelected()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
IndexOutOfRangeException,
FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic boolean getIsSelectionActive()
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
NotSupportedException,
IndexOutOfRangeException,
FormatException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class HeaderedItemsControlpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class HeaderedItemsControlpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class HeaderedItemsControlnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class HeaderedItemsControlpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class HeaderedItemsControlpublic void removeCollapsed(RoutedEventHandler handler) throws java.lang.Throwable
handler - the argument of type RoutedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeExpanded(RoutedEventHandler handler) throws java.lang.Throwable
handler - the argument of type RoutedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeSelected(RoutedEventHandler handler) throws java.lang.Throwable
handler - the argument of type RoutedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void removeUnselected(RoutedEventHandler handler) throws java.lang.Throwable
handler - the argument of type RoutedEventHandlerjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setIsExpanded(boolean IsExpanded)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
NotSupportedException,
OutOfMemoryException
IsExpanded - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void setIsSelected(boolean IsSelected)
throws java.lang.Throwable,
ArgumentException,
InvalidOperationException,
ArgumentNullException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
NotSupportedException,
OutOfMemoryException
IsSelected - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class HeaderedItemsControlinstance - the new underlying object