public class MenuItem extends HeaderedItemsControl
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Controls.MenuItem
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=4.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.MenuItem
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
MenuItem() |
MenuItem(java.lang.Object instance)
Internal constructor.
|
getHasHeader, getHeader, getHeaderStringFormat, getHeaderTemplate, getHeaderTemplateSelector, setHeader, setHeaderStringFormat, setHeaderTemplate, setHeaderTemplateSelectorBeginInit, ContainerFromElement, ContainerFromElement, EndInit, getAlternationCount, GetAlternationIndex, getDisplayMemberPath, 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, 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, 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, VerifyAccessEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringAddChild, AddText, ToIAddChildClear, ClearItemValue, ClearValue, ReadItemValue, StoreItemValue, ToIContainItemStorageIsAmbientPropertyAvailable, ToIQueryAmbientpublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public MenuItem()
throws java.lang.Throwable,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
ArgumentException
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionArgumentExceptionpublic MenuItem(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic void addChecked(RoutedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addClick(RoutedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addSubmenuClosed(RoutedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addSubmenuOpened(RoutedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void addUnchecked(RoutedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic static MenuItem cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into MenuItem, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedMenuItem instancejava.lang.Throwable - in case of error during cast operationpublic ICommand getCommand() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public NetObject getCommandParameter() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public IInputElement getCommandTarget() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public NetObject getIcon() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public java.lang.String getInputGestureText()
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
NotImplementedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
NotSupportedException
public boolean getIsCheckable()
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
NotImplementedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
NotSupportedException
public boolean getIsChecked()
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
NotImplementedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
NotSupportedException
public boolean getIsHighlighted()
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
NotImplementedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
NotSupportedException
public boolean getIsPressed()
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
NotImplementedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
NotSupportedException
public boolean getIsSubmenuOpen()
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
NotImplementedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
NotSupportedException
public boolean getIsSuspendingPopupAnimation()
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
NotImplementedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
NotSupportedException
public ItemContainerTemplateSelector getItemContainerTemplateSelector() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IContainItemStoragegetJCOAssemblyName in interface IAddChildgetJCOAssemblyName in interface IQueryAmbientgetJCOAssemblyName in class HeaderedItemsControlString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IContainItemStoragegetJCOClassName in interface IAddChildgetJCOClassName in interface IQueryAmbientgetJCOClassName in class HeaderedItemsControlString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IContainItemStoragegetJCOInstance in interface IAddChildgetJCOInstance in interface IQueryAmbientgetJCOInstance in class HeaderedItemsControlObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IContainItemStoragegetJCOObjectName in interface IAddChildgetJCOObjectName in interface IQueryAmbientgetJCOObjectName in class HeaderedItemsControlString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IContainItemStoragegetJCOType in interface IAddChildgetJCOType in interface IQueryAmbientgetJCOType in class HeaderedItemsControlJCType representing the CLR Type of the instantiated Classpublic MenuItemRole getRole() throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public static ResourceKey getSeparatorStyleKey() throws java.lang.Throwable
java.lang.Throwablepublic boolean getStaysOpenOnClick()
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
NotImplementedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
NotSupportedException
public static ResourceKey getSubmenuHeaderTemplateKey() throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic static ResourceKey getSubmenuItemTemplateKey() throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic static ResourceKey getTopLevelHeaderTemplateKey() throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic static ResourceKey getTopLevelItemTemplateKey() throws java.lang.Throwable, ArgumentNullException
java.lang.ThrowableArgumentNullExceptionpublic boolean getUsesItemContainerTemplate()
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
NotImplementedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
NotSupportedException
public void OnApplyTemplate()
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
ConfigurationErrorsException,
ArgumentOutOfRangeException,
OutOfMemoryException,
IndexOutOfRangeException,
MissingManifestResourceException,
InvalidOperationException,
MulticastNotSupportedException
OnApplyTemplate in class FrameworkElementjava.lang.ThrowableArgumentNullExceptionArgumentExceptionConfigurationErrorsExceptionArgumentOutOfRangeExceptionOutOfMemoryExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionInvalidOperationExceptionMulticastNotSupportedExceptionpublic void removeChecked(RoutedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeClick(RoutedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeSubmenuClosed(RoutedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeSubmenuOpened(RoutedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void removeUnchecked(RoutedEventHandler handler) throws java.lang.Throwable
java.lang.Throwablepublic void setCommand(ICommand Command) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public void setCommandParameter(NetObject CommandParameter) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public void setCommandTarget(IInputElement CommandTarget) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public void setIcon(NetObject Icon) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public void setInputGestureText(java.lang.String InputGestureText)
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
NotImplementedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
NotSupportedException
public void setIsCheckable(boolean IsCheckable)
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentException,
ArgumentOutOfRangeException,
NotSupportedException
public void setIsChecked(boolean IsChecked)
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
NotImplementedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
NotSupportedException
public void setIsHighlighted(boolean IsHighlighted)
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
NotImplementedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
NotSupportedException
public void setIsPressed(boolean IsPressed)
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
NotImplementedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
NotSupportedException
public void setIsSubmenuOpen(boolean IsSubmenuOpen)
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
NotImplementedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
NotSupportedException
public void setIsSuspendingPopupAnimation(boolean IsSuspendingPopupAnimation)
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
NotImplementedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
NotSupportedException
public void setItemContainerTemplateSelector(ItemContainerTemplateSelector ItemContainerTemplateSelector) throws java.lang.Throwable, ArgumentNullException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, NotSupportedException
public void setJCOInstance(JCObject instance)
setJCOInstance in class HeaderedItemsControlpublic void setStaysOpenOnClick(boolean StaysOpenOnClick)
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
NotImplementedException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
ArgumentOutOfRangeException,
NotSupportedException
public void setUsesItemContainerTemplate(boolean UsesItemContainerTemplate)
throws java.lang.Throwable,
ArgumentNullException,
MissingManifestResourceException,
ObjectDisposedException,
InvalidOperationException,
ArgumentException,
ArgumentOutOfRangeException,
NotSupportedException