UNPKG

@nodert-win11/windows.ui.xaml

Version:

Use the Windows.UI.Xaml UWP API directly from Node.js

1,547 lines (1,300 loc) 98.8 kB
Rect = (function () { var cls = function Rect() { }; return cls; }) (); exports.Rect = Rect; Color = (function () { var cls = function Color() { }; return cls; }) (); exports.Color = Color; Point = (function () { var cls = function Point() { }; return cls; }) (); exports.Point = Point; Size = (function () { var cls = function Size() { }; return cls; }) (); exports.Size = Size; Vector3 = (function () { var cls = function Vector3() { this.x = new Number(); this.y = new Number(); this.z = new Number(); }; return cls; }) (); exports.Vector3 = Vector3; Vector2 = (function () { var cls = function Vector2() { this.x = new Number(); this.y = new Number(); }; return cls; }) (); exports.Vector2 = Vector2; Matrix4x4 = (function () { var cls = function Matrix4x4() { this.m11 = new Number(); this.m12 = new Number(); this.m13 = new Number(); this.m14 = new Number(); this.m21 = new Number(); this.m22 = new Number(); this.m23 = new Number(); this.m24 = new Number(); this.m31 = new Number(); this.m32 = new Number(); this.m33 = new Number(); this.m34 = new Number(); this.m41 = new Number(); this.m42 = new Number(); this.m43 = new Number(); this.m44 = new Number(); }; return cls; }) (); exports.Matrix4x4 = Matrix4x4; _ApplicationHighContrastAdjustment = function () { this.none = 0; this.auto = 1; } exports.ApplicationHighContrastAdjustment = new _ApplicationHighContrastAdjustment(); _ApplicationRequiresPointerMode = function () { this.auto = 0; this.whenRequested = 1; } exports.ApplicationRequiresPointerMode = new _ApplicationRequiresPointerMode(); _ApplicationTheme = function () { this.light = 0; this.dark = 1; } exports.ApplicationTheme = new _ApplicationTheme(); _AutomationTextAttributesEnum = function () { this.animationStyleAttribute = 0; this.backgroundColorAttribute = 1; this.bulletStyleAttribute = 2; this.capStyleAttribute = 3; this.cultureAttribute = 4; this.fontNameAttribute = 5; this.fontSizeAttribute = 6; this.fontWeightAttribute = 7; this.foregroundColorAttribute = 8; this.horizontalTextAlignmentAttribute = 9; this.indentationFirstLineAttribute = 10; this.indentationLeadingAttribute = 11; this.indentationTrailingAttribute = 12; this.isHiddenAttribute = 13; this.isItalicAttribute = 14; this.isReadOnlyAttribute = 15; this.isSubscriptAttribute = 16; this.isSuperscriptAttribute = 17; this.marginBottomAttribute = 18; this.marginLeadingAttribute = 19; this.marginTopAttribute = 20; this.marginTrailingAttribute = 21; this.outlineStylesAttribute = 22; this.overlineColorAttribute = 23; this.overlineStyleAttribute = 24; this.strikethroughColorAttribute = 25; this.strikethroughStyleAttribute = 26; this.tabsAttribute = 27; this.textFlowDirectionsAttribute = 28; this.underlineColorAttribute = 29; this.underlineStyleAttribute = 30; this.annotationTypesAttribute = 31; this.annotationObjectsAttribute = 32; this.styleNameAttribute = 33; this.styleIdAttribute = 34; this.linkAttribute = 35; this.isActiveAttribute = 36; this.selectionActiveEndAttribute = 37; this.caretPositionAttribute = 38; this.caretBidiModeAttribute = 39; } exports.AutomationTextAttributesEnum = new _AutomationTextAttributesEnum(); _ElementHighContrastAdjustment = function () { this.none = 0; this.application = 1; this.auto = 2; } exports.ElementHighContrastAdjustment = new _ElementHighContrastAdjustment(); _ElementSoundKind = function () { this.focus = 0; this.invoke = 1; this.show = 2; this.hide = 3; this.movePrevious = 4; this.moveNext = 5; this.goBack = 6; } exports.ElementSoundKind = new _ElementSoundKind(); _ElementSoundMode = function () { this.default = 0; this.focusOnly = 1; this.off = 2; } exports.ElementSoundMode = new _ElementSoundMode(); _ElementSoundPlayerState = function () { this.auto = 0; this.off = 1; this.on = 2; } exports.ElementSoundPlayerState = new _ElementSoundPlayerState(); _ElementSpatialAudioMode = function () { this.auto = 0; this.off = 1; this.on = 2; } exports.ElementSpatialAudioMode = new _ElementSpatialAudioMode(); _ElementTheme = function () { this.default = 0; this.light = 1; this.dark = 2; } exports.ElementTheme = new _ElementTheme(); _FlowDirection = function () { this.leftToRight = 0; this.rightToLeft = 1; } exports.FlowDirection = new _FlowDirection(); _FocusState = function () { this.unfocused = 0; this.pointer = 1; this.keyboard = 2; this.programmatic = 3; } exports.FocusState = new _FocusState(); _FocusVisualKind = function () { this.dottedLine = 0; this.highVisibility = 1; this.reveal = 2; } exports.FocusVisualKind = new _FocusVisualKind(); _FontCapitals = function () { this.normal = 0; this.allSmallCaps = 1; this.smallCaps = 2; this.allPetiteCaps = 3; this.petiteCaps = 4; this.unicase = 5; this.titling = 6; } exports.FontCapitals = new _FontCapitals(); _FontEastAsianLanguage = function () { this.normal = 0; this.hojoKanji = 1; this.jis04 = 2; this.jis78 = 3; this.jis83 = 4; this.jis90 = 5; this.nlcKanji = 6; this.simplified = 7; this.traditional = 8; this.traditionalNames = 9; } exports.FontEastAsianLanguage = new _FontEastAsianLanguage(); _FontEastAsianWidths = function () { this.normal = 0; this.full = 1; this.half = 2; this.proportional = 3; this.quarter = 4; this.third = 5; } exports.FontEastAsianWidths = new _FontEastAsianWidths(); _FontFraction = function () { this.normal = 0; this.stacked = 1; this.slashed = 2; } exports.FontFraction = new _FontFraction(); _FontNumeralAlignment = function () { this.normal = 0; this.proportional = 1; this.tabular = 2; } exports.FontNumeralAlignment = new _FontNumeralAlignment(); _FontNumeralStyle = function () { this.normal = 0; this.lining = 1; this.oldStyle = 2; } exports.FontNumeralStyle = new _FontNumeralStyle(); _FontVariants = function () { this.normal = 0; this.superscript = 1; this.subscript = 2; this.ordinal = 3; this.inferior = 4; this.ruby = 5; } exports.FontVariants = new _FontVariants(); _HorizontalAlignment = function () { this.left = 0; this.center = 1; this.right = 2; this.stretch = 3; } exports.HorizontalAlignment = new _HorizontalAlignment(); _LineStackingStrategy = function () { this.maxHeight = 0; this.blockLineHeight = 1; this.baselineToBaseline = 2; } exports.LineStackingStrategy = new _LineStackingStrategy(); _OpticalMarginAlignment = function () { this.none = 0; this.trimSideBearings = 1; } exports.OpticalMarginAlignment = new _OpticalMarginAlignment(); _TextAlignment = function () { this.center = 0; this.left = 1; this.start = 2; this.right = 3; this.end = 4; this.justify = 5; this.detectFromContent = 6; } exports.TextAlignment = new _TextAlignment(); _TextLineBounds = function () { this.full = 0; this.trimToCapHeight = 1; this.trimToBaseline = 2; this.tight = 3; } exports.TextLineBounds = new _TextLineBounds(); _TextReadingOrder = function () { this.default = 0; this.useFlowDirection = 1; this.detectFromContent = 2; } exports.TextReadingOrder = new _TextReadingOrder(); _TextTrimming = function () { this.none = 0; this.characterEllipsis = 1; this.wordEllipsis = 2; this.clip = 3; } exports.TextTrimming = new _TextTrimming(); _TextWrapping = function () { this.noWrap = 0; this.wrap = 1; this.wrapWholeWords = 2; } exports.TextWrapping = new _TextWrapping(); _Vector3TransitionComponents = function () { this.x = 0; this.y = 1; this.z = 2; } exports.Vector3TransitionComponents = new _Vector3TransitionComponents(); _VerticalAlignment = function () { this.top = 0; this.center = 1; this.bottom = 2; this.stretch = 3; } exports.VerticalAlignment = new _VerticalAlignment(); _Visibility = function () { this.visible = 0; this.collapsed = 1; } exports.Visibility = new _Visibility(); DependencyObject = (function () { var cls = function DependencyObject() { this.dispatcher = new Object(); }; cls.prototype.getValue = function getValue(dp) { /// <signature> /// <summary>Function summary.</summary> /// <param name="dp" type="DependencyProperty">A param.</param> /// <returns type="Object" /> /// </signature> return new Object(); } cls.prototype.setValue = function setValue(dp, value) { /// <signature> /// <summary>Function summary.</summary> /// <param name="dp" type="DependencyProperty">A param.</param> /// <param name="value" type="Object">A param.</param> /// </signature> } cls.prototype.clearValue = function clearValue(dp) { /// <signature> /// <summary>Function summary.</summary> /// <param name="dp" type="DependencyProperty">A param.</param> /// </signature> } cls.prototype.readLocalValue = function readLocalValue(dp) { /// <signature> /// <summary>Function summary.</summary> /// <param name="dp" type="DependencyProperty">A param.</param> /// <returns type="Object" /> /// </signature> return new Object(); } cls.prototype.getAnimationBaseValue = function getAnimationBaseValue(dp) { /// <signature> /// <summary>Function summary.</summary> /// <param name="dp" type="DependencyProperty">A param.</param> /// <returns type="Object" /> /// </signature> return new Object(); } cls.prototype.registerPropertyChangedCallback = function registerPropertyChangedCallback(dp, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="dp" type="DependencyProperty">A param.</param> /// <param name="callback" type="Object">A param.</param> /// <returns type="Number" /> /// </signature> return new Number(); } cls.prototype.unregisterPropertyChangedCallback = function unregisterPropertyChangedCallback(dp, token) { /// <signature> /// <summary>Function summary.</summary> /// <param name="dp" type="DependencyProperty">A param.</param> /// <param name="token" type="Number">A param.</param> /// </signature> } return cls; }) (); exports.DependencyObject = DependencyObject; StateTriggerBase = (function () { var cls = function StateTriggerBase() { this.dispatcher = new Object(); }; cls.prototype.setActive = function setActive(IsActive) { /// <signature> /// <summary>Function summary.</summary> /// <param name="IsActive" type="Boolean">A param.</param> /// </signature> } return cls; }) (); exports.StateTriggerBase = StateTriggerBase; AdaptiveTrigger = (function () { var cls = function AdaptiveTrigger() { this.minWindowWidth = new Number(); this.minWindowHeight = new Number(); this.dispatcher = new Object(); }; cls.minWindowHeightProperty = new DependencyProperty(); cls.minWindowWidthProperty = new DependencyProperty(); return cls; }) (); exports.AdaptiveTrigger = AdaptiveTrigger; Application = (function () { var cls = function Application() { this.resources = new ResourceDictionary(); this.requestedTheme = new ApplicationTheme(); this.debugSettings = new DebugSettings(); this.requiresPointerMode = new ApplicationRequiresPointerMode(); this.focusVisualKind = new FocusVisualKind(); this.highContrastAdjustment = new ApplicationHighContrastAdjustment(); }; cls.prototype.exit = function exit() { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.onActivated = function onActivated(args) { /// <signature> /// <summary>Function summary.</summary> /// <param name="args" type="Object">A param.</param> /// </signature> } cls.prototype.onLaunched = function onLaunched(args) { /// <signature> /// <summary>Function summary.</summary> /// <param name="args" type="Object">A param.</param> /// </signature> } cls.prototype.onFileActivated = function onFileActivated(args) { /// <signature> /// <summary>Function summary.</summary> /// <param name="args" type="Object">A param.</param> /// </signature> } cls.prototype.onSearchActivated = function onSearchActivated(args) { /// <signature> /// <summary>Function summary.</summary> /// <param name="args" type="Object">A param.</param> /// </signature> } cls.prototype.onShareTargetActivated = function onShareTargetActivated(args) { /// <signature> /// <summary>Function summary.</summary> /// <param name="args" type="Object">A param.</param> /// </signature> } cls.prototype.onFileOpenPickerActivated = function onFileOpenPickerActivated(args) { /// <signature> /// <summary>Function summary.</summary> /// <param name="args" type="Object">A param.</param> /// </signature> } cls.prototype.onFileSavePickerActivated = function onFileSavePickerActivated(args) { /// <signature> /// <summary>Function summary.</summary> /// <param name="args" type="Object">A param.</param> /// </signature> } cls.prototype.onCachedFileUpdaterActivated = function onCachedFileUpdaterActivated(args) { /// <signature> /// <summary>Function summary.</summary> /// <param name="args" type="Object">A param.</param> /// </signature> } cls.prototype.onWindowCreated = function onWindowCreated(args) { /// <signature> /// <summary>Function summary.</summary> /// <param name="args" type="WindowCreatedEventArgs">A param.</param> /// </signature> } cls.prototype.onBackgroundActivated = function onBackgroundActivated(args) { /// <signature> /// <summary>Function summary.</summary> /// <param name="args" type="Object">A param.</param> /// </signature> } cls.start = function start(callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="callback" type="Object">A param.</param> /// </signature> } cls.loadComponent = function loadComponent(component, resourceLocator) { /// <signature> /// <summary>Function summary.</summary> /// <param name="component" type="Object">A param.</param> /// <param name="resourceLocator" type="Object">A param.</param> /// </signature> } cls.loadComponent = function loadComponent(component, resourceLocator, componentResourceLocation) { /// <signature> /// <summary>Function summary.</summary> /// <param name="component" type="Object">A param.</param> /// <param name="resourceLocator" type="Object">A param.</param> /// <param name="componentResourceLocation" type="Number">A param.</param> /// </signature> } cls.current = new Application(); cls.prototype.addListener = function addListener(eventName, callback){} cls.prototype.removeListener = function removeListener(eventName, callback){} cls.prototype.on = function on(eventName, callback){} cls.prototype.off = function off(eventName, callback){} return cls; }) (); exports.Application = Application; ApplicationInitializationCallbackParams = (function () { var cls = function ApplicationInitializationCallbackParams() { }; return cls; }) (); exports.ApplicationInitializationCallbackParams = ApplicationInitializationCallbackParams; BindingFailedEventArgs = (function () { var cls = function BindingFailedEventArgs() { this.message = new String(); }; return cls; }) (); exports.BindingFailedEventArgs = BindingFailedEventArgs; BringIntoViewOptions = (function () { var cls = function BringIntoViewOptions() { this.targetRect = new Object(); this.animationDesired = new Boolean(); this.verticalOffset = new Number(); this.verticalAlignmentRatio = new Number(); this.horizontalOffset = new Number(); this.horizontalAlignmentRatio = new Number(); }; return cls; }) (); exports.BringIntoViewOptions = BringIntoViewOptions; RoutedEventArgs = (function () { var cls = function RoutedEventArgs() { this.originalSource = new Object(); }; return cls; }) (); exports.RoutedEventArgs = RoutedEventArgs; BringIntoViewRequestedEventArgs = (function () { var cls = function BringIntoViewRequestedEventArgs() { this.verticalOffset = new Number(); this.targetRect = new Object(); this.targetElement = new UIElement(); this.horizontalOffset = new Number(); this.handled = new Boolean(); this.animationDesired = new Boolean(); this.horizontalAlignmentRatio = new Number(); this.verticalAlignmentRatio = new Number(); this.originalSource = new Object(); }; return cls; }) (); exports.BringIntoViewRequestedEventArgs = BringIntoViewRequestedEventArgs; BrushTransition = (function () { var cls = function BrushTransition() { this.duration = new Number(); }; return cls; }) (); exports.BrushTransition = BrushTransition; ResourceDictionary = (function () { var cls = function ResourceDictionary() { this.source = new Object(); this.mergedDictionaries = new Object(); this.themeDictionaries = new Object(); this.dispatcher = new Object(); }; cls.prototype.lookup = function lookup(key) { /// <signature> /// <summary>Function summary.</summary> /// <param name="key" type="Object">A param.</param> /// <returns type="Object" /> /// </signature> return new Object(); } cls.prototype.hasKey = function hasKey(key) { /// <signature> /// <summary>Function summary.</summary> /// <param name="key" type="Object">A param.</param> /// <returns type="Boolean" /> /// </signature> return new Boolean(); } cls.prototype.getView = function getView() { /// <signature> /// <summary>Function summary.</summary> /// <returns type="Object" /> /// </signature> return new Object(); } cls.prototype.insert = function insert(key, value) { /// <signature> /// <summary>Function summary.</summary> /// <param name="key" type="Object">A param.</param> /// <param name="value" type="Object">A param.</param> /// <returns type="Boolean" /> /// </signature> return new Boolean(); } cls.prototype.remove = function remove(key) { /// <signature> /// <summary>Function summary.</summary> /// <param name="key" type="Object">A param.</param> /// </signature> } cls.prototype.clear = function clear() { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.first = function first() { /// <signature> /// <summary>Function summary.</summary> /// <returns type="Object" /> /// </signature> return new Object(); } return cls; }) (); exports.ResourceDictionary = ResourceDictionary; ColorPaletteResources = (function () { var cls = function ColorPaletteResources() { this.listMedium = new Object(); this.listLow = new Object(); this.errorText = new Object(); this.chromeWhite = new Object(); this.chromeMediumLow = new Object(); this.chromeMedium = new Object(); this.chromeLow = new Object(); this.chromeHigh = new Object(); this.chromeGray = new Object(); this.chromeDisabledLow = new Object(); this.chromeDisabledHigh = new Object(); this.chromeBlackMediumLow = new Object(); this.chromeBlackMedium = new Object(); this.chromeBlackLow = new Object(); this.chromeBlackHigh = new Object(); this.chromeAltLow = new Object(); this.baseMediumLow = new Object(); this.baseMediumHigh = new Object(); this.baseMedium = new Object(); this.baseLow = new Object(); this.baseHigh = new Object(); this.altMediumLow = new Object(); this.altMediumHigh = new Object(); this.altMedium = new Object(); this.altLow = new Object(); this.altHigh = new Object(); this.accent = new Object(); this.source = new Object(); this.mergedDictionaries = new Object(); this.themeDictionaries = new Object(); this.dispatcher = new Object(); }; return cls; }) (); exports.ColorPaletteResources = ColorPaletteResources; UIElement = (function () { var cls = function UIElement() { this.transitions = new Object(); this.projection = new Object(); this.renderTransformOrigin = new Object(); this.opacity = new Number(); this.manipulationMode = new Number(); this.isTapEnabled = new Boolean(); this.isRightTapEnabled = new Boolean(); this.isHoldingEnabled = new Boolean(); this.isHitTestVisible = new Boolean(); this.isDoubleTapEnabled = new Boolean(); this.allowDrop = new Boolean(); this.clip = new Object(); this.cacheMode = new Object(); this.useLayoutRounding = new Boolean(); this.renderTransform = new Object(); this.visibility = new Visibility(); this.desiredSize = new Object(); this.pointerCaptures = new Object(); this.renderSize = new Object(); this.xamlRoot = new XamlRoot(); this.shadow = new Object(); this.actualOffset = new Vector3(); this.actualSize = new Vector2(); this.uIContext = new Object(); this.compositeMode = new Number(); this.transform3D = new Object(); this.canDrag = new Boolean(); this.isAccessKeyScope = new Boolean(); this.exitDisplayModeOnAccessKeyInvoked = new Boolean(); this.contextFlyout = new Object(); this.accessKeyScopeOwner = new DependencyObject(); this.accessKey = new String(); this.keyTipHorizontalOffset = new Number(); this.highContrastAdjustment = new ElementHighContrastAdjustment(); this.xYFocusRightNavigationStrategy = new Number(); this.xYFocusKeyboardNavigation = new Number(); this.xYFocusDownNavigationStrategy = new Number(); this.tabFocusNavigation = new Number(); this.keyTipVerticalOffset = new Number(); this.xYFocusUpNavigationStrategy = new Number(); this.keyTipPlacementMode = new Number(); this.xYFocusLeftNavigationStrategy = new Number(); this.lights = new Object(); this.keyboardAccelerators = new Object(); this.keyboardAcceleratorPlacementTarget = new DependencyObject(); this.keyboardAcceleratorPlacementMode = new Number(); this.keyTipTarget = new DependencyObject(); this.translationTransition = new Vector3Transition(); this.opacityTransition = new ScalarTransition(); this.transformMatrix = new Matrix4x4(); this.scaleTransition = new Vector3Transition(); this.scale = new Vector3(); this.rotationTransition = new ScalarTransition(); this.rotationAxis = new Vector3(); this.rotation = new Number(); this.translation = new Vector3(); this.centerPoint = new Vector3(); this.canBeScrollAnchor = new Boolean(); this.dispatcher = new Object(); }; cls.prototype.startDragAsync = function startDragAsync(pointerPoint, callback) { /// <signature> /// <summary>Function summary.</summary> /// <param name="pointerPoint" type="Object">A param.</param> /// </signature> } cls.prototype.onCreateAutomationPeer = function onCreateAutomationPeer() { /// <signature> /// <summary>Function summary.</summary> /// <returns type="Object" /> /// </signature> return new Object(); } cls.prototype.onDisconnectVisualChildren = function onDisconnectVisualChildren() { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.findSubElementsForTouchTargeting = function findSubElementsForTouchTargeting(point, boundingRect) { /// <signature> /// <summary>Function summary.</summary> /// <param name="point" type="Object">A param.</param> /// <param name="boundingRect" type="Object">A param.</param> /// <returns type="Object" /> /// </signature> return new Object(); } cls.prototype.getChildrenInTabFocusOrder = function getChildrenInTabFocusOrder() { /// <signature> /// <summary>Function summary.</summary> /// <returns type="Object" /> /// </signature> return new Object(); } cls.prototype.onProcessKeyboardAccelerators = function onProcessKeyboardAccelerators(args) { /// <signature> /// <summary>Function summary.</summary> /// <param name="args" type="Object">A param.</param> /// </signature> } cls.prototype.onKeyboardAcceleratorInvoked = function onKeyboardAcceleratorInvoked(args) { /// <signature> /// <summary>Function summary.</summary> /// <param name="args" type="Object">A param.</param> /// </signature> } cls.prototype.onBringIntoViewRequested = function onBringIntoViewRequested(e) { /// <signature> /// <summary>Function summary.</summary> /// <param name="e" type="BringIntoViewRequestedEventArgs">A param.</param> /// </signature> } cls.prototype.populatePropertyInfoOverride = function populatePropertyInfoOverride(propertyName, animationPropertyInfo) { /// <signature> /// <summary>Function summary.</summary> /// <param name="propertyName" type="String">A param.</param> /// <param name="animationPropertyInfo" type="Object">A param.</param> /// </signature> } cls.prototype.populatePropertyInfo = function populatePropertyInfo(propertyName, propertyInfo) { /// <signature> /// <summary>Function summary.</summary> /// <param name="propertyName" type="String">A param.</param> /// <param name="propertyInfo" type="Object">A param.</param> /// </signature> } cls.prototype.startBringIntoView = function startBringIntoView() { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.startBringIntoView = function startBringIntoView(options) { /// <signature> /// <summary>Function summary.</summary> /// <param name="options" type="BringIntoViewOptions">A param.</param> /// </signature> } cls.prototype.tryInvokeKeyboardAccelerator = function tryInvokeKeyboardAccelerator(args) { /// <signature> /// <summary>Function summary.</summary> /// <param name="args" type="Object">A param.</param> /// </signature> } cls.prototype.startAnimation = function startAnimation(animation) { /// <signature> /// <summary>Function summary.</summary> /// <param name="animation" type="Object">A param.</param> /// </signature> } cls.prototype.stopAnimation = function stopAnimation(animation) { /// <signature> /// <summary>Function summary.</summary> /// <param name="animation" type="Object">A param.</param> /// </signature> } cls.prototype.measure = function measure(availableSize) { /// <signature> /// <summary>Function summary.</summary> /// <param name="availableSize" type="Object">A param.</param> /// </signature> } cls.prototype.arrange = function arrange(finalRect) { /// <signature> /// <summary>Function summary.</summary> /// <param name="finalRect" type="Object">A param.</param> /// </signature> } cls.prototype.capturePointer = function capturePointer(value) { /// <signature> /// <summary>Function summary.</summary> /// <param name="value" type="Object">A param.</param> /// <returns type="Boolean" /> /// </signature> return new Boolean(); } cls.prototype.releasePointerCapture = function releasePointerCapture(value) { /// <signature> /// <summary>Function summary.</summary> /// <param name="value" type="Object">A param.</param> /// </signature> } cls.prototype.releasePointerCaptures = function releasePointerCaptures() { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.addHandler = function addHandler(routedEvent, handler, handledEventsToo) { /// <signature> /// <summary>Function summary.</summary> /// <param name="routedEvent" type="RoutedEvent">A param.</param> /// <param name="handler" type="Object">A param.</param> /// <param name="handledEventsToo" type="Boolean">A param.</param> /// </signature> } cls.prototype.removeHandler = function removeHandler(routedEvent, handler) { /// <signature> /// <summary>Function summary.</summary> /// <param name="routedEvent" type="RoutedEvent">A param.</param> /// <param name="handler" type="Object">A param.</param> /// </signature> } cls.prototype.transformToVisual = function transformToVisual(visual) { /// <signature> /// <summary>Function summary.</summary> /// <param name="visual" type="UIElement">A param.</param> /// <returns type="Object" /> /// </signature> return new Object(); } cls.prototype.invalidateMeasure = function invalidateMeasure() { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.invalidateArrange = function invalidateArrange() { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.updateLayout = function updateLayout() { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.cancelDirectManipulations = function cancelDirectManipulations() { /// <signature> /// <summary>Function summary.</summary> /// <returns type="Boolean" /> /// </signature> return new Boolean(); } cls.registerAsScrollPort = function registerAsScrollPort(element) { /// <signature> /// <summary>Function summary.</summary> /// <param name="element" type="UIElement">A param.</param> /// </signature> } cls.tryStartDirectManipulation = function tryStartDirectManipulation(value) { /// <signature> /// <summary>Function summary.</summary> /// <param name="value" type="Object">A param.</param> /// <returns type="Boolean" /> /// </signature> return new Boolean(); } cls.holdingEvent = new RoutedEvent(); cls.isDoubleTapEnabledProperty = new DependencyProperty(); cls.isHitTestVisibleProperty = new DependencyProperty(); cls.isHoldingEnabledProperty = new DependencyProperty(); cls.isRightTapEnabledProperty = new DependencyProperty(); cls.keyDownEvent = new RoutedEvent(); cls.keyUpEvent = new RoutedEvent(); cls.manipulationCompletedEvent = new RoutedEvent(); cls.manipulationDeltaEvent = new RoutedEvent(); cls.isTapEnabledProperty = new DependencyProperty(); cls.manipulationInertiaStartingEvent = new RoutedEvent(); cls.manipulationModeProperty = new DependencyProperty(); cls.manipulationStartedEvent = new RoutedEvent(); cls.manipulationStartingEvent = new RoutedEvent(); cls.opacityProperty = new DependencyProperty(); cls.pointerCanceledEvent = new RoutedEvent(); cls.pointerCaptureLostEvent = new RoutedEvent(); cls.pointerCapturesProperty = new DependencyProperty(); cls.pointerEnteredEvent = new RoutedEvent(); cls.pointerExitedEvent = new RoutedEvent(); cls.pointerMovedEvent = new RoutedEvent(); cls.pointerPressedEvent = new RoutedEvent(); cls.pointerWheelChangedEvent = new RoutedEvent(); cls.projectionProperty = new DependencyProperty(); cls.renderTransformOriginProperty = new DependencyProperty(); cls.renderTransformProperty = new DependencyProperty(); cls.rightTappedEvent = new RoutedEvent(); cls.dragEnterEvent = new RoutedEvent(); cls.tappedEvent = new RoutedEvent(); cls.transitionsProperty = new DependencyProperty(); cls.useLayoutRoundingProperty = new DependencyProperty(); cls.visibilityProperty = new DependencyProperty(); cls.allowDropProperty = new DependencyProperty(); cls.cacheModeProperty = new DependencyProperty(); cls.clipProperty = new DependencyProperty(); cls.doubleTappedEvent = new RoutedEvent(); cls.pointerReleasedEvent = new RoutedEvent(); cls.dragLeaveEvent = new RoutedEvent(); cls.dragOverEvent = new RoutedEvent(); cls.dropEvent = new RoutedEvent(); cls.shadowProperty = new DependencyProperty(); cls.compositeModeProperty = new DependencyProperty(); cls.canDragProperty = new DependencyProperty(); cls.transform3DProperty = new DependencyProperty(); cls.accessKeyProperty = new DependencyProperty(); cls.accessKeyScopeOwnerProperty = new DependencyProperty(); cls.contextFlyoutProperty = new DependencyProperty(); cls.isAccessKeyScopeProperty = new DependencyProperty(); cls.exitDisplayModeOnAccessKeyInvokedProperty = new DependencyProperty(); cls.highContrastAdjustmentProperty = new DependencyProperty(); cls.keyTipHorizontalOffsetProperty = new DependencyProperty(); cls.keyTipPlacementModeProperty = new DependencyProperty(); cls.keyTipVerticalOffsetProperty = new DependencyProperty(); cls.lightsProperty = new DependencyProperty(); cls.xYFocusDownNavigationStrategyProperty = new DependencyProperty(); cls.xYFocusKeyboardNavigationProperty = new DependencyProperty(); cls.xYFocusLeftNavigationStrategyProperty = new DependencyProperty(); cls.xYFocusRightNavigationStrategyProperty = new DependencyProperty(); cls.xYFocusUpNavigationStrategyProperty = new DependencyProperty(); cls.tabFocusNavigationProperty = new DependencyProperty(); cls.gettingFocusEvent = new RoutedEvent(); cls.losingFocusEvent = new RoutedEvent(); cls.noFocusCandidateFoundEvent = new RoutedEvent(); cls.characterReceivedEvent = new RoutedEvent(); cls.previewKeyDownEvent = new RoutedEvent(); cls.previewKeyUpEvent = new RoutedEvent(); cls.bringIntoViewRequestedEvent = new RoutedEvent(); cls.contextRequestedEvent = new RoutedEvent(); cls.keyTipTargetProperty = new DependencyProperty(); cls.keyboardAcceleratorPlacementModeProperty = new DependencyProperty(); cls.keyboardAcceleratorPlacementTargetProperty = new DependencyProperty(); cls.canBeScrollAnchorProperty = new DependencyProperty(); cls.prototype.addListener = function addListener(eventName, callback){} cls.prototype.removeListener = function removeListener(eventName, callback){} cls.prototype.on = function on(eventName, callback){} cls.prototype.off = function off(eventName, callback){} return cls; }) (); exports.UIElement = UIElement; FrameworkElement = (function () { var cls = function FrameworkElement() { this.width = new Number(); this.verticalAlignment = new VerticalAlignment(); this.tag = new Object(); this.style = new Style(); this.resources = new ResourceDictionary(); this.name = new String(); this.minWidth = new Number(); this.minHeight = new Number(); this.maxWidth = new Number(); this.maxHeight = new Number(); this.margin = new Thickness(); this.language = new String(); this.horizontalAlignment = new HorizontalAlignment(); this.height = new Number(); this.flowDirection = new FlowDirection(); this.dataContext = new Object(); this.actualHeight = new Number(); this.actualWidth = new Number(); this.baseUri = new Object(); this.parent = new DependencyObject(); this.triggers = new TriggerCollection(); this.requestedTheme = new ElementTheme(); this.focusVisualSecondaryThickness = new Thickness(); this.focusVisualSecondaryBrush = new Object(); this.focusVisualPrimaryThickness = new Thickness(); this.focusVisualPrimaryBrush = new Object(); this.focusVisualMargin = new Thickness(); this.allowFocusWhenDisabled = new Boolean(); this.allowFocusOnInteraction = new Boolean(); this.actualTheme = new ElementTheme(); this.isLoaded = new Boolean(); this.transitions = new Object(); this.projection = new Object(); this.renderTransformOrigin = new Object(); this.opacity = new Number(); this.manipulationMode = new Number(); this.isTapEnabled = new Boolean(); this.isRightTapEnabled = new Boolean(); this.isHoldingEnabled = new Boolean(); this.isHitTestVisible = new Boolean(); this.isDoubleTapEnabled = new Boolean(); this.allowDrop = new Boolean(); this.clip = new Object(); this.cacheMode = new Object(); this.useLayoutRounding = new Boolean(); this.renderTransform = new Object(); this.visibility = new Visibility(); this.desiredSize = new Object(); this.pointerCaptures = new Object(); this.renderSize = new Object(); this.xamlRoot = new XamlRoot(); this.shadow = new Object(); this.actualOffset = new Vector3(); this.actualSize = new Vector2(); this.uIContext = new Object(); this.compositeMode = new Number(); this.transform3D = new Object(); this.canDrag = new Boolean(); this.isAccessKeyScope = new Boolean(); this.exitDisplayModeOnAccessKeyInvoked = new Boolean(); this.contextFlyout = new Object(); this.accessKeyScopeOwner = new DependencyObject(); this.accessKey = new String(); this.keyTipHorizontalOffset = new Number(); this.highContrastAdjustment = new ElementHighContrastAdjustment(); this.xYFocusRightNavigationStrategy = new Number(); this.xYFocusKeyboardNavigation = new Number(); this.xYFocusDownNavigationStrategy = new Number(); this.tabFocusNavigation = new Number(); this.keyTipVerticalOffset = new Number(); this.xYFocusUpNavigationStrategy = new Number(); this.keyTipPlacementMode = new Number(); this.xYFocusLeftNavigationStrategy = new Number(); this.lights = new Object(); this.keyboardAccelerators = new Object(); this.keyboardAcceleratorPlacementTarget = new DependencyObject(); this.keyboardAcceleratorPlacementMode = new Number(); this.keyTipTarget = new DependencyObject(); this.translationTransition = new Vector3Transition(); this.opacityTransition = new ScalarTransition(); this.transformMatrix = new Matrix4x4(); this.scaleTransition = new Vector3Transition(); this.scale = new Vector3(); this.rotationTransition = new ScalarTransition(); this.rotationAxis = new Vector3(); this.rotation = new Number(); this.translation = new Vector3(); this.centerPoint = new Vector3(); this.canBeScrollAnchor = new Boolean(); this.dispatcher = new Object(); }; cls.prototype.getBindingExpression = function getBindingExpression(dp) { /// <signature> /// <summary>Function summary.</summary> /// <param name="dp" type="DependencyProperty">A param.</param> /// <returns type="Object" /> /// </signature> return new Object(); } cls.prototype.invalidateViewport = function invalidateViewport() { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.measureOverride = function measureOverride(availableSize) { /// <signature> /// <summary>Function summary.</summary> /// <param name="availableSize" type="Object">A param.</param> /// <returns type="Object" /> /// </signature> return new Object(); } cls.prototype.arrangeOverride = function arrangeOverride(finalSize) { /// <signature> /// <summary>Function summary.</summary> /// <param name="finalSize" type="Object">A param.</param> /// <returns type="Object" /> /// </signature> return new Object(); } cls.prototype.onApplyTemplate = function onApplyTemplate() { /// <signature> /// <summary>Function summary.</summary> /// </signature> } cls.prototype.goToElementStateCore = function goToElementStateCore(stateName, useTransitions) { /// <signature> /// <summary>Function summary.</summary> /// <param name="stateName" type="String">A param.</param> /// <param name="useTransitions" type="Boolean">A param.</param> /// <returns type="Boolean" /> /// </signature> return new Boolean(); } cls.prototype.findName = function findName(name) { /// <signature> /// <summary>Function summary.</summary> /// <param name="name" type="String">A param.</param> /// <returns type="Object" /> /// </signature> return new Object(); } cls.prototype.setBinding = function setBinding(dp, binding) { /// <signature> /// <summary>Function summary.</summary> /// <param name="dp" type="DependencyProperty">A param.</param> /// <param name="binding" type="Object">A param.</param> /// </signature> } cls.deferTree = function deferTree(element) { /// <signature> /// <summary>Function summary.</summary> /// <param name="element" type="DependencyObject">A param.</param> /// </signature> } cls.actualHeightProperty = new DependencyProperty(); cls.actualWidthProperty = new DependencyProperty(); cls.dataContextProperty = new DependencyProperty(); cls.flowDirectionProperty = new DependencyProperty(); cls.heightProperty = new DependencyProperty(); cls.horizontalAlignmentProperty = new DependencyProperty(); cls.languageProperty = new DependencyProperty(); cls.marginProperty = new DependencyProperty(); cls.maxHeightProperty = new DependencyProperty(); cls.maxWidthProperty = new DependencyProperty(); cls.minHeightProperty = new DependencyProperty(); cls.minWidthProperty = new DependencyProperty(); cls.nameProperty = new DependencyProperty(); cls.styleProperty = new DependencyProperty(); cls.tagProperty = new DependencyProperty(); cls.verticalAlignmentProperty = new DependencyProperty(); cls.widthProperty = new DependencyProperty(); cls.requestedThemeProperty = new DependencyProperty(); cls.allowFocusOnInteractionProperty = new DependencyProperty(); cls.allowFocusWhenDisabledProperty = new DependencyProperty(); cls.focusVisualMarginProperty = new DependencyProperty(); cls.focusVisualPrimaryBrushProperty = new DependencyProperty(); cls.focusVisualPrimaryThicknessProperty = new DependencyProperty(); cls.focusVisualSecondaryBrushProperty = new DependencyProperty(); cls.focusVisualSecondaryThicknessProperty = new DependencyProperty(); cls.actualThemeProperty = new DependencyProperty(); cls.holdingEvent = new RoutedEvent(); cls.isDoubleTapEnabledProperty = new DependencyProperty(); cls.isHitTestVisibleProperty = new DependencyProperty(); cls.isHoldingEnabledProperty = new DependencyProperty(); cls.isRightTapEnabledProperty = new DependencyProperty(); cls.keyDownEvent = new RoutedEvent(); cls.keyUpEvent = new RoutedEvent(); cls.manipulationCompletedEvent = new RoutedEvent(); cls.manipulationDeltaEvent = new RoutedEvent(); cls.isTapEnabledProperty = new DependencyProperty(); cls.manipulationInertiaStartingEvent = new RoutedEvent(); cls.manipulationModeProperty = new DependencyProperty(); cls.manipulationStartedEvent = new RoutedEvent(); cls.manipulationStartingEvent = new RoutedEvent(); cls.opacityProperty = new DependencyProperty(); cls.pointerCanceledEvent = new RoutedEvent(); cls.pointerCaptureLostEvent = new RoutedEvent(); cls.pointerCapturesProperty = new DependencyProperty(); cls.pointerEnteredEvent = new RoutedEvent(); cls.pointerExitedEvent = new RoutedEvent(); cls.pointerMovedEvent = new RoutedEvent(); cls.pointerPressedEvent = new RoutedEvent(); cls.pointerWheelChangedEvent = new RoutedEvent(); cls.projectionProperty = new DependencyProperty(); cls.renderTransformOriginProperty = new DependencyProperty(); cls.renderTransformProperty = new DependencyProperty(); cls.rightTappedEvent = new RoutedEvent(); cls.dragEnterEvent = new RoutedEvent(); cls.tappedEvent = new RoutedEvent(); cls.transitionsProperty = new DependencyProperty(); cls.useLayoutRoundingProperty = new DependencyProperty(); cls.visibilityProperty = new DependencyProperty(); cls.allowDropProperty = new DependencyProperty(); cls.cacheModeProperty = new DependencyProperty(); cls.clipProperty = new DependencyProperty(); cls.doubleTappedEvent = new RoutedEvent(); cls.pointerReleasedEvent = new RoutedEvent(); cls.dragLeaveEvent = new RoutedEvent(); cls.dragOverEvent = new RoutedEvent(); cls.dropEvent = new RoutedEvent(); cls.shadowProperty = new DependencyProperty(); cls.compositeModeProperty = new DependencyProperty(); cls.canDragProperty = new DependencyProperty(); cls.transform3DProperty = new DependencyProperty(); cls.accessKeyProperty = new DependencyProperty(); cls.accessKeyScopeOwnerProperty = new DependencyProperty(); cls.contextFlyoutProperty = new DependencyProperty(); cls.isAccessKeyScopeProperty = new DependencyProperty(); cls.exitDisplayModeOnAccessKeyInvokedProperty = new DependencyProperty(); cls.highContrastAdjustmentProperty = new DependencyProperty(); cls.keyTipHorizontalOffsetProperty = new DependencyProperty(); cls.keyTipPlacementModeProperty = new DependencyProperty(); cls.keyTipVerticalOffsetProperty = new DependencyProperty(); cls.lightsProperty = new DependencyProperty(); cls.xYFocusDownNavigationStrategyProperty = new DependencyProperty(); cls.xYFocusKeyboardNavigationProperty = new DependencyProperty(); cls.xYFocusLeftNavigationStrategyProperty = new DependencyProperty(); cls.xYFocusRightNavigationStrategyProperty = new DependencyProperty(); cls.xYFocusUpNavigationStrategyProperty = new DependencyProperty(); cls.tabFocusNavigationProperty = new DependencyProperty(); cls.gettingFocusEvent = new RoutedEvent(); cls.losingFocusEvent = new RoutedEvent(); cls.noFocusCandidateFoundEvent = new RoutedEvent(); cls.characterReceivedEvent = new RoutedEvent(); cls.previewKeyDownEvent = new RoutedEvent(); cls.previewKeyUpEvent = new RoutedEvent(); cls.bringIntoViewRequestedEvent = new RoutedEvent(); cls.contextRequestedEvent = new RoutedEvent(); cls.keyTipTargetProperty = new DependencyProperty(); cls.keyboardAcceleratorPlacementModeProperty = new DependencyProperty(); cls.keyboardAcceleratorPlacementTargetProperty = new DependencyProperty(); cls.canBeScrollAnchorProperty = new DependencyProperty(); cls.prototype.addListener = function addListener(eventName, callback){} cls.prototype.removeListener = function removeListener(eventName, callback){} cls.prototype.on = function on(eventName, callback){} cls.prototype.off = function off(eventName, callback){} return cls; }) (); exports.FrameworkElement = FrameworkElement; FrameworkTemplate = (function () { var cls = function FrameworkTemplate() { this.dispatcher = new Object(); }; return cls; }) (); exports.FrameworkTemplate = FrameworkTemplate; DataContextChangedEventArgs = (function () { var cls = function DataContextChangedEventArgs() { this.handled = new Boolean(); this.newValue = new Object(); }; return cls; }) (); exports.DataContextChangedEventArgs = DataContextChangedEventArgs; DataTemplate = (function () { var cls = function DataTemplate() { this.dispatcher = new Object(); }; cls.prototype.loadContent = function loadContent() { /// <signature> /// <summary>Function summary.</summary> /// <returns type="DependencyObject" /> /// </signature> return new DependencyObject(); } cls.prototype.getElement = function getElement(args) { /// <signature> /// <summary>Function summary.</summary> /// <param name="args" type="ElementFactoryGetArgs">A param.</param> /// <returns type="UIElement" /> /// </signature> return new UIElement(); } cls.prototype.recycleElement = function recycleElement(args) { /// <signature> /// <summary>Function summary.</summary> /// <param name="args" type="ElementFactoryRecycleArgs">A param.</param> /// </signature> } cls.getExtensionInstance = function getExtensionInstance(element) { /// <signature> /// <summary>Function summary.</summary> /// <param name="element" type="FrameworkElement">A param.</param> /// <returns type="IDataTemplateExtension" /> /// </signature> return new IDataTemplateExtension(); } cls.setExtensionInstance = function setExtensionInstance(element, value) { /// <signature> /// <summary>Function summary.</summary> /// <param name="element" type="FrameworkElement">A param.</param> /// <param name="value" type="IDataTemplateExtension">A param.</param> /// </signature> } cls.extensionInstanceProperty = new DependencyProperty(); return cls; }) (); exports.DataTemplate = DataTemplate; DataTemplateKey = (function () { var cls = function DataTemplateKey() { this.dataType = new Object(); }; var cls = function DataTemplateKey(dataType) {