GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — WinObjC/Frameworks/UIKit.Xaml/ILayer.cpp at develop · microsoft/WinObjC

This repository was archived by the owner on May 28, 2025. It is now read-only.

Expand file tree

/

ILayer.cpp

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
47 lines (40 loc) · 1.51 KB
/

ILayer.cpp

Copy path

File metadata and controls

47 lines (40 loc) · 1.51 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
//******************************************************************************
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// This code is licensed under the MIT License (MIT).
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
//
//******************************************************************************
// clang-format does not like C++/CX
// clang-format off
#pragma once
#include "pch.h"
#include "ILayer.h"
using namespace Windows::UI::Xaml;
namespace UIKit {
namespace Xaml {
namespace Private {
namespace CoreAnimation {
LayerProperty::LayerProperty(DependencyObject^ target, DependencyProperty^ property) : _target(target), _property(property) {
}
void LayerProperty::SetValue(Platform::Object^ value) {
// Set the specified value on our underlying target/property pair
_target->SetValue(_property, value);
}
Platform::Object^ LayerProperty::GetValue() {
// Retrieve the current value from our underlying target/property pair
return _target->GetValue(_property);
}
} /* CoreAnimation */
} /* Private */
} /* Xaml*/
} /* UIKit*/
// clang-format on
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.